Bennie Posted December 31, 2006 Share Posted December 31, 2006 I just started to read thru some help files and this forum, but i didnt find what i was looking for. (prob cause i cant read well lol) Im looking for a script that just presses the keyboard buttons 1 thru 5 (1 2 3 4 5) in order, with a delay of 1500ms... I know how to put in a delay, just not a Press button function.. So all im working with now is a script that sleeps, than sleeps and sleeps some more If someone could give me a pointer or an example of a script like this that only does 2 buttons that would be great! Sorry if im too noobie...im just learning Link to comment Share on other sites More sharing options...
Paulie Posted December 31, 2006 Share Posted December 31, 2006 I just started to read thru some help files and this forum, but i didnt find what i was looking for. (prob cause i cant read well lol) Im looking for a script that just presses the keyboard buttons 1 thru 5 (1 2 3 4 5) in order, with a delay of 1500ms... I know how to put in a delay, just not a Press button function.. So all im working with now is a script that sleeps, than sleeps and sleeps some more If someone could give me a pointer or an example of a script like this that only does 2 buttons that would be great! Sorry if im too noobie...im just learningWell, you've come to the right place Let me direct you here first: Send And if that doesn't help, try this: For $i = 1 to 5 Sleep(1500) Send($i) Next oÝ÷ ÚÌ¢·¬jezÚ.׫²Ö§u»m«"q©eÊ;¬µ©ÞÆקuçoz»"¢zÂÆ¢÷ºÚ"µÍÛY ML BÙ[ ][ÝÌI][ÝÊBÛY ML BÙ[ ][ÝÌ][ÝÊBÛY ML BÙ[ ][ÝÌÉ][ÝÊBÛY ML BÙ[ ][ÝÍ ][ÝÊBÛY ML BÙ[ ][ÝÍI][ÝÊB Link to comment Share on other sites More sharing options...
Bennie Posted December 31, 2006 Author Share Posted December 31, 2006 Ty man... This is what i call a quick reply and good help in 1 As tested it does work on a text file, just not in the window i want it to... But ty Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted December 31, 2006 Share Posted December 31, 2006 What window would this be, a game Window? 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