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 

how to stop a script running?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
thatguywhojuggles



Joined: 08 Feb 2009
Posts: 26

PostPosted: Fri Feb 13, 2009 2:02 pm    Post subject: how to stop a script running? Reply with quote

I can open a script with run c:/script.ahk
But how do I close it? Winclose doesn't work.

Thanks.
Back to top
View user's profile Send private message
happytodd



Joined: 12 Nov 2007
Posts: 142
Location: South Australia

PostPosted: Fri Feb 13, 2009 2:15 pm    Post subject: Reply with quote

exitapp
should work.
_________________

Back to top
View user's profile Send private message Visit poster's website
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Fri Feb 13, 2009 2:28 pm    Post subject: Reply with quote

Code:
Process, Close, %PID%

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Display posts from previous:   
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