Re: Quit Application



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/create_send_aepg/chapter_7_section_4.html

--
Michael Ash
Rogue Amoeba Software
.



Relevant Pages

  • Quit event not fireing
    ... close the window, I see the quit event. ... However if I call the Quit method directly then the Quite event is not being ... Michael Tissington ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Gracefully shutting down a thread in a DLL
    ... before PROCESS_DETACH is called by the loader. ... Perhaps if you hook the ... "ExitProcess" API so that you're noted when the application wants to ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Quit Application
    ... Michael Ash wrote: ... Is there any API to send quit event to other application? ... Send it a Quit Apple Event. ...
    (comp.sys.mac.programmer.help)
  • Re: Gracefully shutting down a thread in a DLL
    ... before PROCESS_DETACH is called by the loader. ... Perhaps if you hook the ... "ExitProcess" API so that you're noted when the application wants to ...
    (microsoft.public.win32.programmer.kernel)