Hi !
I've a small problem ^^
Auto it 3 doesn't find [Conquer2.0]...
I give U my code :)
Thx :)
I've a small problem ^^
Auto it 3 doesn't find [Conquer2.0]...
I give U my code :)
Code:
#include <GUIConstants.au3>
Opt("GUIOnEventMode", 1)
;GUI
$Form1 = GUICreate("FC Leveler By anerax", 259, 92, 0, 0)
$Label1 = GUICtrlCreateLabel("Mode : Arręt", 104, 8, 62, 17)
$Button1 = GUICtrlCreateButton("START", 24, 32, 217, 49, 0)
GUISetState(@SW_SHOW)
;EVENTS
GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked")
GuiCtrlSetOnEvent($Button1, "CLICKButton")
While 1
Sleep(1000)
WEnd
;FUNCTIONS
Func CLICKButton()
$active=WinActivate("[Conquer2.0]")
If $active <> 1 Then
MsgBox(64,"Error","Veuillez allumer Conquete 2.0 !")
Else
While 1
MouseDown("right")
Sleep(3250)
WEnd
EndIf
EndFunc
Func CLOSEClicked()
Exit
EndFunc