Hi Godlikerz
wenn ich folgendes script mache mit hotkeyset nach einem TuT von xDrago
kommt immer ein error ich bitte um eure hilfe
ich habe meinen code mal gepostet aber ich kann euch nochmal erklären , was ich eigentlich nur möchte .
Also bei mir soll einfach wenn ich F1 drücke alles beendet werden (also das Programm)
mein code ist folgender
code
Alles anzeigen
und dann kommt folgender error :

hoffe du kannst mir helfen
btw kommt selbst wenn ich deinen code kopiere !
lg Fuyo
wenn ich folgendes script mache mit hotkeyset nach einem TuT von xDrago
kommt immer ein error ich bitte um eure hilfe
ich habe meinen code mal gepostet aber ich kann euch nochmal erklären , was ich eigentlich nur möchte .
Also bei mir soll einfach wenn ich F1 drücke alles beendet werden (also das Programm)
mein code ist folgender
C-Quellcode
- #include <ButtonConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <StaticConstants.au3>
- #include <WindowsConstants.au3>
- HotKeySet("{Esc}", "_Exit")
- HotKeySet("{F1}", "_F1")
- #Region ### START Koda GUI section ### Form=
- $Form1 = GUICreate("Upgrader", 258, 242, 450, 285)
- $Group1 = GUICtrlCreateGroup("Upgrader by Fuyo ", 16, 16, 217, 209)
- $Button1 = GUICtrlCreateButton("Fly For Fame", 32, 48, 107, 41, 0)
- $Button2 = GUICtrlCreateButton("Anderer Server", 32, 112, 107, 41, 0)
- $Made = GUICtrlCreateLabel("Made", 168, 64, 31, 17)
- GUICtrlSetState(-1, $GUI_DISABLE)
- $for = GUICtrlCreateLabel("for", 168, 80, 16, 17)
- $Godlikerz = GUICtrlCreateLabel("Godlikerz", 168, 96, 48, 17)
- GUICtrlCreateGroup("", -99, -99, 1, 1)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- Case $Button1
- _Func _Exit
- Case $Button2
- _Func2()
- EndSwitch
- WEnd
- Func _Exit
- While 1
- Sleep(1)
- Opt("WinWaitDelay",100)
- Opt("WinTitleMatchMode",4)
- Opt("WinDetectHiddenText",1)
- Opt("MouseCoordMode",0)
- WinWait("FLYFF","")
- If Not WinActive("FLYFF","") Then WinActivate("FLYFF","")
- WinWaitActive("FLYFF","")
- MouseClick("left",593,315,2)
- MouseClick("left",660,315,2)
- MouseClick("left",629,315,2)
- MouseClick("left",661,315,2)
- WEnd
- Exit
- EndFunc ;==>_Func1
- Func _F1
- While 1
- Sleep(1)
- MsgBox(0, "Info", "Du hast das Programm beendet.")
- WinWait("FLYFF","")
- If Not WinActive("FLYFF","") Then WinActivate("FLYFF","")
- WinWaitActive("FLYFF","")
- MouseClick("left",598,319,2)
- MouseClick("left",663,319,2)
- WEnd
- Exit
- EndFunc ;==>_Func2
und dann kommt folgender error :

hoffe du kannst mir helfen
btw kommt selbst wenn ich deinen code kopiere !
lg Fuyo