Hallo,
ich habe ein problem was sich wie folgt äussert:
[autoit]$Pfad = GUICtrlCreateInput($actualpath & "programm.exe", 24, 136, 121, 22
[/autoit]
in diesem Inputbereich soll ein "pfad" rein der sich durch diese funktion ergeben soll
Button dazu:
$exe = GUICtrlCreateButton("Pfad suchen", 16, 170, 99, 25, 0)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUICtrlSetOnEvent ($exe,"folder")
Funktion:
Func folder ()
;FileSelectFolder("Wähle den ordner aus:", @HomePath, 0,$Pfad)
;If FileSelectFolder("Wähle den Ordner aus in dem das programm installiert ist:", @HomePath, 0, $Pfad) = (0) Then GUICtrlSetData ($actualpath,$Pfad)
EndFunc
; ich weiss nichtmal ob das richtig ist
da er dann natürlich sagt das die variable nicht gesetzt ist habe ich noch dieses als variable festgelegt:
[autoit]$actualpath = "asd"
[/autoit]Ich hoffe man kann mir ein wenig dabei helfen