Jump to content
Sign in to follow this  
scampbell1901

CTRL+BREAK to exit infinite loops

Recommended Posts

scampbell1901

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.

Share this post


Link to post
Share on other sites
JLogan3o13

Have a look at HotKeySet in the help file


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
stormbreaker

And ExitLoop as well !!!


----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

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  

×