BoobaBee Posted January 29, 2010 Share Posted January 29, 2010 Hello everyone, i am trying to do a simple script just to train my skills at scripting... Huh, so here's my script which is actualy working. While 1 MouseMove ( 503, 711 , 10 ) MouseClick ( "left" , 503, 711 , 1 , 10 ) MouseMove ( 534, 825 , 10 ) MouseClick ( "left" , 534, 825 , 1 , 10 ) MouseMove ( 549, 500 , 10 ) MouseClick ( "left" , 549, 500 , 1 , 10 ) WEnd Ok now what i would like to do since it's impossible to stop clicking; add a hotkey exemple f2 to stop the script. Anyone can give me the line code for this please? Thank you. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 29, 2010 Share Posted January 29, 2010 Look at the example here, Function HotKeySet - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
JohnOne Posted January 30, 2010 Share Posted January 30, 2010 You will also want to read about putting your code inside a Function for use with HotKeySet(). AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Sobiech Posted January 30, 2010 Share Posted January 30, 2010 Use HotKeySet to function, who close your program This world is crazy Link to comment Share on other sites More sharing options...
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