Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

CTRL+BREAK to exit infinite loops

$
0
0
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.

Viewing all articles
Browse latest Browse all 12506

Trending Articles