Re: Simulating app termination

2010-06-02 Thread Michael Ash
On Tue, Jun 1, 2010 at 3:34 PM, Kyle Sluder wrote: > On Tue, Jun 1, 2010 at 12:26 PM, Michael Ash wrote: >> If your goal is to simulate shutdown/restart termination, this won't >> work; the system does not send signals to your app to kill it during >> those situations. > > TN2083 is ambiguous abo

Re: Re: Re: Simulating app termination

2010-06-01 Thread lorenzo7620
On Jun 1, 2010 2:26pm, Kyle Sluder wrote: On Tue, Jun 1, 2010 at 12:22 PM, lorenzo7...@gmail.com> wrote: >> Can you elaborate on this? man kill Can you elaborate on why the standard Quit Apple Event isn't working in your app? AppKit understands it and turns it into a regular t

Re: Simulating app termination

2010-06-01 Thread Kyle Sluder
On Tue, Jun 1, 2010 at 12:26 PM, Michael Ash wrote: > If your goal is to simulate shutdown/restart termination, this won't > work; the system does not send signals to your app to kill it during > those situations. TN2083 is ambiguous about this. Here's the relevant section: > This program is kil

Re: Simulating app termination

2010-06-01 Thread Michael Ash
On Tue, Jun 1, 2010 at 3:16 PM, John Joyce wrote: > > On Jun 1, 2010, at 2:09 PM, has wrote: > >> lorenzo7620 wrote: >> >>> My question at this point is not about the dialog not displaying, not yet >>> anyway, but how to tell my app to quit without actually restarting or >>> shutting down the comp

Re: Re: Simulating app termination

2010-06-01 Thread Kyle Sluder
On Tue, Jun 1, 2010 at 12:22 PM, wrote: >> Can you elaborate on this? man kill Can you elaborate on why the standard Quit Apple Event isn't working in your app? AppKit understands it and turns it into a regular termination. --Kyle Sluder ___ Cocoa-d

Re: Re: Simulating app termination

2010-06-01 Thread lorenzo7620
On Jun 1, 2010 2:16pm, John Joyce wrote: On Jun 1, 2010, at 2:09 PM, has wrote: > lorenzo7620 wrote: > >> My question at this point is not about the dialog not displaying, not yet >> anyway, but how to tell my app to quit without actually restarting or >> shutting down the co

Re: Simulating app termination

2010-06-01 Thread John Joyce
On Jun 1, 2010, at 2:09 PM, has wrote: > lorenzo7620 wrote: > >> My question at this point is not about the dialog not displaying, not yet >> anyway, but how to tell my app to quit without actually restarting or >> shutting down the computer. Years ago under Classic, I would write an >> Ap

Re: Simulating app termination

2010-06-01 Thread has
lorenzo7620 wrote: > My question at this point is not about the dialog not displaying, not yet > anyway, but how to tell my app to quit without actually restarting or > shutting down the computer. Years ago under Classic, I would write an > Applescript to do this, but it seems that you don't