Hi
habe gerade ein bissle nach dem problem gegooglet und bin auf euer forum gestoßen ![]()
hoffe ihr seid alle nett und beißt nicht ![]()
also ich hab mit koda fd eine form erstellt
und habe mal losgescriptet
mein problem ist sobald ich z.b. Button 1 drücke und der script startet ... lässt er sich mit button 2 nicht mehr stoppen BZW. alle buttons die ich danach drücke gehen nicht mehr hoffe ihr habt mich kapiert ![]()
hier mein script:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Koda FD\Forms\jappy.kxf\jappy.kxf
$Form1 = GUICreate("Mag Jappy Helper", 517, 141, 193, 125)
$Button1 = GUICtrlCreateButton("Button1", 16, 56, 145, 25, 0)
$Button2 = GUICtrlCreateButton("Button2", 16, 88, 145, 25, 0)
$Button3 = GUICtrlCreateButton("Button3", 176, 56, 145, 25, 0)
$Button4 = GUICtrlCreateButton("Button4", 176, 88, 145, 25, 0)
$Button5 = GUICtrlCreateButton("Button5", 336, 56, 145, 25, 0)
$Button6 = GUICtrlCreateButton("Button6", 336, 88, 145, 25, 0)
$Label1 = GUICtrlCreateLabel("Jappy On Mode", 48, 32, 79, 17)
$Label2 = GUICtrlCreateLabel("Jappy Profile Watcher", 200, 32, 108, 17)
$Label3 = GUICtrlCreateLabel("Jappy GB Maker", 368, 32, 83, 17)
$Label4 = GUICtrlCreateLabel("Made by MAG", 24, 8, 72, 17)
$Label5 = GUICtrlCreateLabel("This Programm was made by MAG", 16, 120, 166, 17)
$Label6 = GUICtrlCreateLabel("For Questions ask: MAG_91@hotmail.de", 320, 120, 196, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Func1 ()
case $Button2
_Func2 ()
Case $Button3
_Func3 ()
case $Button4
_Func4 ()
Case $Button5
_Func5 ()
case $Button6
_Func6 ()
EndSwitch
WEnd
Func _Func1 ()
while 1
MsgBox(0, "MAG", "Jappy On Mode wird gleich gestartet")
sleep (10)
MsgBox(0, "MAG", "!!!Logge dich bitte in Jappy ein und drücke dann OK!!!")
sleep (2500)
MouseClick ("left", 400, 150)
sleep (30000)
MouseClick ("LEFT", 330, 150)
sleep (30000)
WEnd
EndFunc
Func _Func2 ()
Exit
EndFunc
edit : sobald der script ausgeführt wurde .. schließt sich auch AutoIT ich will aber das dass fenster offen bleibt ..kennt ihr eine lösung
MFG MAG