Thatsgreat2345 Posted August 4, 2005 Posted August 4, 2005 once the GUI loads up and the person types in their password and click go i want neuz_hacked to startup and then sleep for a lil bit while it loads up then i want it to put the pass that they typed in at the GUI and then press enter the password box is automaticaly selected when you start up if thats possible that would be great except the problem is when i click betarun it gives me an endif error and then i just compile it and try it and when i click go it keeps pasting the password they typed in and neuz_hacked doesnt start up so could i get some help #include <GuiConstants.au3> GuiCreate("Login", 272, 86,(@DesktopWidth-272)/2, (@DesktopHeight-86)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $Group_1 = GuiCtrlCreateGroup("Login", 175, 3, 89, 74) $Button_2 = GuiCtrlCreateButton("Go!", 191, 53, 58, 19) $Input_3 = GuiCtrlCreateInput("password", 186, 25, 66, 18) GUISetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_2 GameLogin() EndSelect WEnd Exit While 1 GameLogin() Sleep(1000) WEnd If FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") Then Run(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") EndIf ;====================================================================================== ; Func GameLogin() Hot Key = None ;====================================================================================== Func GameLogin() If WinGetState("FLyff") = 16 Then WinSetState("Flyff", "", @SW_MAXIMIZE) EndIf Send(GuiCtrlRead($Input_3) & "{Enter}"); sleep(10000) If FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") Then Run(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") send("{enter}") EndFunc
Josbe Posted August 4, 2005 Posted August 4, 2005 once the GUI loads up and the person types in their password and click go i want neuz_hacked to startup and then sleep for a lil bit while it loads up then i want it to put the pass that they typed in at the GUI and then press enter the password box is automaticaly selected when you start up if thats possible that would be great except the problem is when i click betarun it gives me an endif error and then i just compile it and try it and when i click go it keeps pasting the password they typed in and neuz_hacked doesnt start up so could i get some help#include <GuiConstants.au3>GuiCreate("Login", 272, 86,(@DesktopWidth-272)/2, (@DesktopHeight-86)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)$Group_1 = GuiCtrlCreateGroup("Login", 175, 3, 89, 74)$Button_2 = GuiCtrlCreateButton("Go!", 191, 53, 58, 19)$Input_3 = GuiCtrlCreateInput("password", 186, 25, 66, 18)GUISetState()While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_2 GameLogin() EndSelectWEndExitWhile 1 GameLogin() Sleep(1000)WEndIf FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") ThenRun(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe")EndIf;======================================================================================; Func GameLogin() Hot Key = None;======================================================================================Func GameLogin() If WinGetState("FLyff") = 16 Then WinSetState("Flyff", "", @SW_MAXIMIZE)EndIf Send(GuiCtrlRead($Input_3) & "{Enter}"); sleep(10000) If FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") ThenRun(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") send("{enter}")EndIfEndFunc<{POST_SNAPBACK}>Check the red "EndIf"....Of course, I must to say that you need CHECK your script before post two topics for some "EndIf error". AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now