joker17 Posted October 7, 2007 Share Posted October 7, 2007 I need that auto it press the "ò" key, not that he write the ò key e need to really send it ^^ but i'm noob with auto it and i dunno what to do. This is what i've done HotKeySet("+{F9}", "_Terminate"); Closing macro While 1 If WinActive("2Moons") Then sleep(2000) Send ("ò") Else EndIf WEnd Func _Terminate() Exit EndFunc another equestion is how to make the programm loop? Link to comment Share on other sites More sharing options...
Nahuel Posted October 7, 2007 Share Posted October 7, 2007 (edited) I thought that adding the flag 1 to Send() would do the job. But it doesn't work here, probably because I don't have that key. But you can try: Send ("ò", 1) Maybe this, who knows: Send ("{ò}") -edit- Oh, and isn't your script already looping? Edited October 7, 2007 by Nahuel Link to comment Share on other sites More sharing options...
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