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 

Exit script

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



Joined: 29 Dec 2009
Posts: 84
Location: France

PostPosted: Thu Mar 18, 2010 5:39 pm    Post subject: Exit script Reply with quote

hi,
I try to exit a script from another script.
The opposite of "Run"!

Because "Winkill", "winclose" just closes the window :/


thx !
Back to top
View user's profile Send private message
HotKeyIt



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

PostPosted: Thu Mar 18, 2010 5:47 pm    Post subject: Reply with quote

This should work, a GUI is ahk_class AutoHotkeyGUI.
Code:
WinClose, C:\Program Files\... ahk_class AutoHotkey

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Tlams



Joined: 29 Dec 2009
Posts: 84
Location: France

PostPosted: Thu Mar 18, 2010 6:10 pm    Post subject: Reply with quote

Humm...
With your method I can not do but , i found with a search on the forum:
Code:
Process, close, 2v2.2.exe

Smile


Thank you anyway !
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 3113
Location: MN, USA

PostPosted: Thu Mar 18, 2010 6:46 pm    Post subject: Reply with quote

For reference: How can a script close, pause, or suspend other script(s)? AutoHotkey FAQ
Back to top
View user's profile Send private message Visit poster's website
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