Anuiran Posted December 24, 2013 Posted December 24, 2013 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!
somdcomputerguy Posted December 24, 2013 Posted December 24, 2013 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now