BobN Posted February 13, 2010 Share Posted February 13, 2010 (edited) Can anyone show me how to start my script by hitting a hotkey? Edited February 13, 2010 by BobN Link to comment Share on other sites More sharing options...
JohnOne Posted February 13, 2010 Share Posted February 13, 2010 Not sure you can. But You could certainly start your script in a paused state, which has a hotkey set in it. 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...
Info Posted February 13, 2010 Share Posted February 13, 2010 HotKeySet("{Enter}","_Start") While 1 Sleep(10000) WEnd Func _Start() ;your script EndFunc Link to comment Share on other sites More sharing options...
BobN Posted February 13, 2010 Author Share Posted February 13, 2010 HotKeySet("{Enter}","_Start") While 1 Sleep(10000) WEnd Func _Start() ;your script EndFunc Thanks a bunch! 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