AutoIt help

03/14/2013 15:49 speacher#1
hello,

I'm trying to make some scripts with autoit, im just starting simple with a weapon switch, it works in notepad or any other program but it doesn't work ingame, anyone can help me to make it work ingame too?

Code:
HotKeySet("{F2}", "Switch1");if you press F2 Switch will occur

Local $handle = WinGetHandle("[CLASS:SRO_CLIENT]", "SRO_CLIENT")
Func Switch1()
   Send("{SPACE down}")
   Send("{3}")
   Send("{2}")
   Send("{SPACE up}")
EndFunc

While 1
   Sleep(1000)
WEnd
Thanks in advance ;)

EDIT: its about iSRO
03/14/2013 15:51 Licane#2
I' think its cause SRO blocks Autoit ;)
03/14/2013 15:57 speacher#3
I know, but from what i have heard there is some kind of bypass for that
03/17/2013 00:58 intercsaki#4
Something like these might help you:

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Post here the result. :) I might want to create autoit tools for sro, too.
03/17/2013 13:23 speacher#5
thanks, ill have a look
03/17/2013 19:44 intercsaki#6
Quote:
Originally Posted by speacher View Post
thanks, ill have a look
Don't say thanks, there's a button for that.
03/20/2013 13:02 speacher#7
true, didnt think about that ;) but theres no button for: ill have a look at it