[autoit]
Execute
[/autoit]Execute
[/autoit]$Zahl = 1
$Zahl2 = 10
$NeueZahl = $Zahl2 & $Zahl
MsgBox(0, "", $NeueZahl)
oder
[autoit]$Zahl = 1
$Zahl2 = 10
$Zahl2 &= $Zahl
MsgBox(0, "", $Zahl2)
Hm, verstehe noch nicht ganz, was du möchtest. Kannste die File evtl. noch uppen?
StringTrimLeft, StringTrimRight
Opt('GUIOnEventMode', 1)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]$Gui = GUICreate('',800, 600, -1, -1)
GUISetBkColor(0xFFFFFF, $GUI)
GUISetOnEvent(-3, '_Exit')
$Menu = GUICtrlCreateMenu(' M&enü ')
GUICtrlCreateLabel('Monat :',10,15,40,20)
GUICtrlSetFont(-1, 9, 400, 2)
GUICtrlCreateLabel('Jahr :',10,39,40,20)
GUICtrlSetFont(-1, 9, 400, 2)
$monataus = GUICtrlCreateCombo('',55,13,75)
GUICtrlSetData($monataus ,'Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember')
$jahr = GUICtrlCreateLabel(@YEAR,55,39,40,19)
GUICtrlCreateButton('-', 100, 39, 15, 15)
GUICtrlSetOnEvent(-1, 'Minus')
GUICtrlCreateButton('+', 115, 39, 15, 15)
GUICtrlSetOnEvent(-1, 'Plus')
GUICtrlCreateCombo('', 10, 80,180, 25)
GUICtrlSetTip(-1, 'Name')
GUICtrlCreateCombo('', 10,101,180, 25)
GUICtrlSetTip(-1, 'Stellenbezeichnung')
GUICtrlCreateGroup('', 10,116,180, 24)
GUICtrlCreateLabel('R=',168,125,20, 12)
GUICtrlSetTip(-1, 'Urlaub')
;-----------------------------------------------------hir in der input soll wenn ein wert zb. -123 eigegeben wird der text rot werden wenn kein - dann schwarz
$test = GUICtrlCreateInput('',191,80,57,21) ;supper wehr es noch wenn +123 dann grün
$fu = GUICtrlRead($test,1)
if $fu = Chr(45) Then
GUICtrlSetColor($test,0xff0000)
EndIf
;--------------------------------------------------------------------------------------------------------------------------------------------------------------
GUICtrlCreateButton('test',250,80,57,21)
GUICtrlSetOnEvent(-1, '_test')
GUICtrlSetTip(-1, '+ / - Zeiten')
$test1 = GUICtrlCreateCombo('139,50',191,101,57,25)
GUICtrlSetTip(-1, 'Stunden / Wochen')
GUICtrlCreateInput('',191,122,57,18)
GUICtrlSetTip(-1, 'Urlaub')
GUISetState()
$Color = 0x000000
While 1
Sleep(10)
If StringLeft(GUICtrlRead($test),1) = "-" Then
If $Color <> 0xff0000 Then
$Color = 0xff0000
GUICtrlSetColor($test,$Color)
EndIf
ElseIf StringLeft(GUICtrlRead($test),1) = "+" Then
If $Color <> 0x006400 Then
$Color = 0x006400
GUICtrlSetColor($test,$Color)
EndIf
ElseIf $Color <> 0x000000 Then
$Color = 0x000000
GUICtrlSetColor($test,$Color)
EndIf
WEnd
Func _test()
dim $al
EndFunc
[/autoit] [autoit][/autoit] [autoit]Func _Exit()
Exit
EndFunc
Func Minus()
GUICtrlSetData($jahr, GUICtrlRead($jahr) - 1)
EndFunc
Func Plus()
GUICtrlSetData($jahr, GUICtrlRead($jahr) + 1)
EndFunc
Woah man, ich verstehe halt 0, deine Beschreibung ist wirklich total Wirr und Müll. Sorry ![]()
Aber poste doch mal was du bereits hast.
Die Schrift von Xenobiologist find ich cool. Wie heißt die denn, wenn ich fragen darf ;)?
Du verstehst glaub ich das Wort Sektion falsch. Schau doch mal in der Hilfe nach.
IniDelete kann doch Sektionen löschen?
$path = "c:\test1\test3\test7\test8"
$lastpath = StringTrimLeft($path, StringInStr($path, "\", "", -1))
MsgBox(0, "", $lastpath)
Local $array[5] = ["Berlin", "Franktfurt", "Mailand", "Venedig", "Kapstadt"]
For $i = 0 To 4
MsgBox(64, "Stadt:", $array[$i])
Next
Sleep(50) in die Schleife.
Also, das passiert nur, wenn die Zahlen als String formatiert sind. Also mit " umschlossen. Siehe hier:
[autoit]$max = "1000"
$teile = "200"
If $max >= $teile Then
$CWL = 1
Else
$CWL = 2
EndIf
MsgBox(0, "", $CWL)
Lösung einfach mit Number:
[autoit]$max = "1000"
$teile = "200"
If Number($max) >= Number($teile) Then
$CWL = 1
Else
$CWL = 2
EndIf
MsgBox(0, "", $CWL)
Oder nicht als String:
[autoit]$max = 1000
$teile = 200
If $max >= $teile Then
$CWL = 1
Else
$CWL = 2
EndIf
MsgBox(0, "", $CWL)
$str = '<tr><td class="e">DOCUMENT_ROOT </td><td class="v">C:/downloads/xampplite-win32-1.7.2/xampplite/htdocs </td></tr>'
$Path = StringRegExp($str, '<tr><td class="e">DOCUMENT_ROOT </td><td class="v">(.+) </td></tr>', 3)
$Path = $Path[0]
MsgBox(0, "", $Path)
[/autoit]Vielen Dank an alle!!!
Richtig schön alleine ne Runde zu drehen
*g*
Oder RegExpReplace ![]()
$string = "20.11.2009 09:12:34"
$Time = StringRegExpReplace($string, "(\d*).(\d*).(\d*) (\d*:\d*:\d*)", "$3/$2/$1 $4")
MsgBox(0, "", $Time)
Nach $File fehlt nen & und die Funktion musst du auch noch aufrufen.
Heißt doch Terminal Server und nicht TerminalServer
x2 6000+
4gb ram
flüssig und echt perfekt, flackert 0 und läuft super
Wie am Gameboy xD