Sign in to follow this  
Followers 0
dougland888

Beginner needs some help

2 posts in this topic

#1 ·  Posted (edited)

hi! well im playing this game where you need to press alt+1~4 all the time

here is what i have:

Send ("{ALT down}")
Send ("{1 down}")
Sleep(1000)
Send ("{ALT up}")
Send ("{1 up}")
Sleep(5000)
Send ("{ALT down}")
Send ("{2 down}")
Sleep(1000)
Send ("{ALT up}")
Send ("{2 up}")
Sleep(5000)
Send ("{ALT down}")
Send ("{3 down}")
Sleep(1000)
Send ("{ALT up}")
Send ("{3 up}")
Sleep(5000)
Send ("{ALT down}")
Send ("{4 down}")
Sleep(1000)
Send ("{ALT up}")
Send ("{4 up}")
Sleep(5000)
Exit
 
well here comes the action, i want to create a start/stop key. Also, i want to make a loop, so it repeteat indefinetly. if someone have a better script please tell.
I need ALT+1 holded for 1 second, delay 5 seconds then alt+2 and so on...
thanks in advance for help
doug
Edited by dougland888

Share this post


Link to post
Share on other sites



Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0