Sign in to follow this  
Followers 0
JVMorrow

Need help with simple script

3 posts in this topic

Hey can anyone help me out i want my script to be able to click on a spot on the screen

wait like 2 seconds n click another spot then wait 2 seconds n go back to the last spot

how would i do this thanks

Share this post


Link to post
Share on other sites



Have a look on

http://www.autoitscript.com/autoit3/docs/f.../MouseClick.htm

And

http://www.autoitscript.com/autoit3/docs/functions/Sleep.htm

If you never worked with Autoit then try and look for the Autoit1-2-3 (its somewhere on the forum :) )


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

Hey can anyone help me out i want my script to be able to click on a spot on the screen

wait like 2 seconds n click another spot then wait 2 seconds n go back to the last spot

how would i do this thanks

While 1
Mouseclick("Left", X1, Y1)
Sleep(2000)
Mouseclick("Left", X2, Y2)
WEnd

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