scampbell1901 Posted December 7, 2012 Share Posted December 7, 2012 Alright, so I have made a very simple script that clicks the mouse and waits in an infinite loop. I was planning on having the script run and when I was ready to end it, just use the keyboard shortcut to break out of it. No, its not the most eloquent way to code, but for a simple project like this one it makes the most sense. Anyway, I use a Mac keyboard, which of course doesn't have a "Break" key. I have investigated a couple options out there for remapping keys on my keyboard, to no avail (Sharpkeys and Auto Hot Key to be specific). So long story short, is there a way to change the hot key(s) associated with breaking out of an infinite loop? This is honestly something I expected to find on a preferences page I also expected to find (silly me, I have apparently been spoiled by eclipse all these years). If the answer is yes, it can be re-mapped in AutoIT, please provide instructions. Thanks in advance. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 7, 2012 Moderators Share Posted December 7, 2012 Have a look at HotKeySet in the help file "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
stormbreaker Posted December 7, 2012 Share Posted December 7, 2012 And ExitLoop as well !!! ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
scampbell1901 Posted December 7, 2012 Author Share Posted December 7, 2012 HotKeySet worked, thanks for the help. 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