AutoHotkey Community

It is currently May 27th, 2012, 2:57 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Exit script
PostPosted: March 18th, 2010, 6:39 pm 
Offline

Joined: December 29th, 2009, 10:58 pm
Posts: 86
Location: France
hi,
I try to exit a script from another script.
The opposite of "Run"!

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


thx !


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 6:47 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
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:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 7:10 pm 
Offline

Joined: December 29th, 2009, 10:58 pm
Posts: 86
Location: France
Humm...
With your method I can not do but , i found with a search on the forum:
Code:
Process, close, 2v2.2.exe

:)


Thank you anyway !


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 7:46 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
For reference: How can a script close, pause, or suspend other script(s)? AutoHotkey FAQ


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], rbrtryn and 29 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group