Jump to content

Recommended Posts

Posted (edited)

Right now I have a script that presses the up arrow, waits 2 seconds, then presses down arrow. How can i loop this?

Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)

Thanks in advance for any help.

Edited by letmein
  • Moderators
Posted

Right now I have a script that presses the up arrow, waits 2 seconds, then presses down arrow. How can i loop this?

Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)
While 1
Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)
Wend

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...