Hallo,
ich mal wieder mit ne Frage. Und zwar habe ich eine Func _path() erstellt welche die Aufgabe hat den user auf zu fordern den Pfad zum GuildWars verzeichniss an zu geben.
Die func klappt auch ohne Probleme, aber ich möchte es halt so das wenn der User dann start drückt das GuildWars startet von dem Verzeichniss aus wo der User sein GuildWars Installiert hat.
Die Func sieht so aus....
func _path()
MsgBox ( 0, "GuildWars Path", "Befor the bot can do autologin you have to insert your path to GuildWars.exe")
$autologinpath = InputBox ( "Path to GuildWars", "Please insert here your path to GW.exe", "C:\Programme\GUILD WARS\Gw.exe" )
EndFunc
das wäre die _path() func
jetzt dachte ich mir halt so das es mit Run geht.... aber iwi kommt nix ausser nen fehler.. hatte es so probiert....
Func _startbot()
$rungw = GUICtrlRead($autologinpath)
Run = ($rungw)
EndFunc
Wäre ne ordentliche lösung weiß wäre cool :)
Danke schon mal für die antworten zum thema!
mfg
ich mal wieder mit ne Frage. Und zwar habe ich eine Func _path() erstellt welche die Aufgabe hat den user auf zu fordern den Pfad zum GuildWars verzeichniss an zu geben.
Die func klappt auch ohne Probleme, aber ich möchte es halt so das wenn der User dann start drückt das GuildWars startet von dem Verzeichniss aus wo der User sein GuildWars Installiert hat.
Die Func sieht so aus....
func _path()
MsgBox ( 0, "GuildWars Path", "Befor the bot can do autologin you have to insert your path to GuildWars.exe")
$autologinpath = InputBox ( "Path to GuildWars", "Please insert here your path to GW.exe", "C:\Programme\GUILD WARS\Gw.exe" )
EndFunc
das wäre die _path() func
jetzt dachte ich mir halt so das es mit Run geht.... aber iwi kommt nix ausser nen fehler.. hatte es so probiert....
Func _startbot()
$rungw = GUICtrlRead($autologinpath)
Run = ($rungw)
EndFunc
Wäre ne ordentliche lösung weiß wäre cool :)
Danke schon mal für die antworten zum thema!
mfg