Jump to content
Sign in to follow this  
Mazdaspeed

is their a wait function?

Recommended Posts

Mazdaspeed

hi how do i make a script like

press 1 wait for 2 seconds then press 2 wait 5 seconds and then loop 4x ^^ thank you

Share this post


Link to post
Share on other sites
thenewkid

Wecome to autoit

you could read the help file but as your new is this what our wanting

$1 = 0
While 1
$1 += 1
Send("1")
Sleep(2000)
Send("2")
Sleep(5000)
If $1 = 4 Then
    MsgBox(0,"test","I sent 1 and waited 2 sec then sent 2 and waited 5 sec")
    Exit
EndIf

WEnd

thenewkid


some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×