Sign in to follow this  
Followers 0
Anuiran

I am absolutely horrible and need some help.

2 posts in this topic

I need a simple script that will send a mouse clicks to a program in the background. So that I can continue using my computer without my mouse being stolen.

HotKeySet("{ESC}", "Terminate")
While 1
Controlclick("programnamehere",200,500,"Right",1)
sleep(0013)
wend
 
 
I want it to repeat forever or for a certain amount of times. But as long as I can cancel it whenever i would prefer that.... the script I made does not seem to work though. Thanks!

Share this post


Link to post
Share on other sites



You have no function named Terminate, the syntax of the ControlClick function is wrong (read the Help file), and a 13 millisecond Sleep is probably way too fast.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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