Epic_Rage's SJSRO AutoLogin

12/17/2009 03:48 HaGsTeR#31
Quote:
Originally Posted by Epic_Rage View Post
You can send packets.. it just takes quite a few combinations of different commands, ive done it before.

Also, i cant seem to get the ControlSend function to fully work... any idea how to get the 'Control ID' of the login screen?

This is what i currently am using atm:
ControlSend ( "SRO_Client", "", NeedToKnowWhatToPutHere, "{ENTER}")

Any ideas what to put in 'NeedToKnowWhatToPutHere'? :P (remember, this is for the sjsro log in screen, if that helps)
edit :
Quote:
$hWnd = "SRO_Client"


ControlSend($hWnd,"","","{enter}")
try that
12/17/2009 07:44 theoneofgod#32
Code:
ControlSend(WinGetHandle("SRO_Client"), "", "Edit1", "Type Text Here")
Never fails!
12/17/2009 09:32 Epic_Rage#33
Quote:
Originally Posted by theoneofgod View Post
Code:
ControlSend(WinGetHandle("SRO_Client"), "", "Edit1", "Type Text Here")
Never fails!
Tried it before, and it failed :3

Btw, sending {TAB} is a pain in the ass with ControlSend :/ It never works >:|

(Hag, im pretty sure your one works, but i cant get {Tab} working)
12/17/2009 17:26 recking#34
do you send it to the handle? or directly to the window? thats a big difference!