Guest cyber2025 Posted February 15, 2004 Share Posted February 15, 2004 Is there a button that I can press that will stop autoit from running it's script? The main reason for this is if I test a script and I need to stop and change it. I usually don't have a problem with it because I can quickly stop the program by shutting it down via the mouse. But now I am working with a script that will keep my mouse moving so I can't stop it. Please help. Thanks, Cyber2025 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 15, 2004 Developers Share Posted February 15, 2004 In ver2 you can RigthClick on the Systemtray icon and then click Exit to stop. In Ver3 you can define a HotKeyset on top of the above option: HotKeySet("{ESC}", "Terminate") ; your code Func Terminate() MsgBox(4096,"", "The End") Exit EndFunc SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
cmallett Posted February 16, 2004 Share Posted February 16, 2004 I think your only two choices are to convert the script to v3 (there is a translator available that will do some of the work for you) or to use AutoHotkey, which is backward compatible with most v2 scripts.If using AutoHotkey, here is an example of how to assign a hotkey to pause the script:^!p::pauseOr to exit:^!x::ExitApp Link to comment Share on other sites More sharing options...
Recommended Posts