Re: Quit Application
- From: Gregory Weston <uce@xxxxxxxxxx>
- Date: Fri, 28 Sep 2007 10:22:07 -0400
In article <1190986535.239450@xxxxxxxxxxxxxxxxxx>,
Michael Ash <mike@xxxxxxxxxxx> wrote:
p2 <pradip.patel@xxxxxxxxxxxxxx> wrote:
Hi
How can i quit Application from other application ?
I have following details
->application path
Is there any API to send quit event to other application ?
Send it a Quit Apple Event. Code for how to do this seems a bit scarce but
this may get you started:
http://developer.apple.com/documentation/AppleScript/Conceptual/AppleEvents/cr
eate_send_aepg/chapter_7_section_4.html
Robustly turning a string that happens to be a file system path into an
identifier for a running process is the tricky part of this. I haven't
been able to think of a truly reliable way to do it, although I can
think of a couple of 99% solutions.
.
- Follow-Ups:
- Re: Quit Application
- From: Michael Ash
- Re: Quit Application
- References:
- Quit Application
- From: p2
- Re: Quit Application
- From: Michael Ash
- Quit Application
- Prev by Date: Re: Quit Application
- Next by Date: Re: Quit Application
- Previous by thread: Re: Quit Application
- Next by thread: Re: Quit Application
- Index(es):
Relevant Pages
|
Loading