AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Abort execution

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
runjohan
Guest





PostPosted: Mon Mar 14, 2005 2:52 pm    Post subject: Abort execution Reply with quote

Hi, while testing, I should be able to abort the execution of my scripts (since i am a very bad programmer!). Is there any keys to press when my scripts goes wild and begin to delete things??

Thanks! Surprised
Back to top
BoBo
Guest





PostPosted: Mon Mar 14, 2005 3:06 pm    Post subject: Reply with quote

As long as you're able to push/click your mouse - move to the TNA/Systray and right click the "H"-Icon, select "Exit" that's it.
Or CTRL+ALT+Delete. Select "AutoHotkey" at the TaskManager, choose "End Process". Done.

... or wait till Jonny&friends shows you how to create a Hotkey to abort an AHK script.
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2393

PostPosted: Mon Mar 14, 2005 3:33 pm    Post subject: Re: Abort execution Reply with quote

runjohan wrote:
Is there any keys to press when my scripts goes wild and begin to delete things??

Laughing Shocked Pull the power cord... Shocked Laughing
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Mon Mar 14, 2005 3:40 pm    Post subject: Reply with quote

thanx! i think i'll go for the power cord, it seems to be difficult to override the inputs (since the script is faster than me;) Razz
Thanks for the support! Very Happy
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2393

PostPosted: Mon Mar 14, 2005 3:45 pm    Post subject: Reply with quote

I was actually joking Wink. well... kind of....

Could you provide a bit of code? You may be able to add a bit of code to abort a particular section and/or add a hotkey to exit the script...
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Mar 15, 2005 1:32 am    Post subject: Reply with quote

You could use a hotkey such as Ctrl+Alt+P to pause the script:

^!p::Pause

... and press it again later to un-pause.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group