Sign in to follow this  
Followers 0
nessark

how do i write this

4 posts in this topic

#1 ·  Posted (edited)

i have a problem writing a script that does this: at the beginning it waits 3 seconds, presses tab, waits 2 seconds, presses 1, waits 25 seconds, presses z, waits 3 seconds and does it all over again a thousand times (loop?). how do i write this? i wanna try to see if it works, it should be a very simple script yet i cannot get it to work.

Edited by nessark

Share this post


Link to post
Share on other sites



i have a problem writing a script that does this: at the beginning it waits 3 seconds, presses tab, waits 2 seconds, presses 1, waits 25 seconds, presses z, waits 3 seconds and does it all over again a thousand times (loop?). how do i write this? i wanna try to see if it works, it should be a very simple script yet i cannot get it to work.

for the pressing of buttons you would use the send function, and for the click of a tab you would move the mouse to where ever the tab is (x,y) and left click. not positive on the 1000 X loop :D

This statement is a lie.˙uʍop-ǝpısdn sı ǝuo sıɥʇ ʇnq 'ǝıl ɐ ǝq ʎɐɯ ʇuǝɯǝʇɐʇs snoıʌǝɹd ǝɥʇ¡6u15nɟu0) ʎ||43ɹ 51 51ɥ7

Share this post


Link to post
Share on other sites

It'd be a lot easier to see why you can't get it to work if you actually posted what you had.

Share this post


Link to post
Share on other sites

For $i = 1 to 1000
    Sleep(3000)
    Send("{tab}")
    Sleep(2000)
    Send("1")
    Sleep(25000)
    send("z")
Next

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  
Followers 0