Re: Using NSTerminateLater with a Status Item

2012-07-26 Thread Trygve Inda
> Hi Olivier. > > rdar://problem/6001460 > > See http://lapcatsoftware.com/rdar/6001460/index.html for an explanation. > > In short, you won't be able to do it with a LSUIElement app. > > -Jeff > Is there a work-around for this? I need to delay shutdown of a LSUIElement app during logout for

Re: Using NSTerminateLater with a Status Item

2011-02-17 Thread Olivier Lance
On 15 févr. 2011, at 16:55, Jeff Johnson wrote: > On Feb 14, 2011, at 3:25 PM, jonat...@mugginsoft.com wrote: >> I don't know if this would fly or not but... >> >> Rather than conventionally returning NSTerminateLater you could try, >> assuming your async driver calls are run loop sources, run th

Re: Using NSTerminateLater with a Status Item

2011-02-15 Thread Jeff Johnson
On Feb 14, 2011, at 3:25 PM, jonat...@mugginsoft.com wrote: > On 14 Feb 2011, at 19:29, Olivier Lance wrote: > >> Hi Jeff, >> >> Well that's what I was afraid to learn... >> Gotta find a workaround then! >> > I don't know if this would fly or not but... > > Rather than conventionally returnin

Re: Using NSTerminateLater with a Status Item

2011-02-14 Thread jonat...@mugginsoft.com
On 14 Feb 2011, at 19:29, Olivier Lance wrote: > Hi Jeff, > > Well that's what I was afraid to learn... > Gotta find a workaround then! > I don't know if this would fly or not but... Rather than conventionally returning NSTerminateLater you could try, assuming your async driver calls are ru

Re: Using NSTerminateLater with a Status Item

2011-02-14 Thread Olivier Lance
Hi Jeff, Well that's what I was afraid to learn... Gotta find a workaround then! Do you know if by any chance, something similar can be done from a process running as a service using launchd? Thanks a lot for you quick reply :) Olivier Le 14 févr. 2011 à 19:06, "Jeff Johnson" a écrit : > Hi

Re: Using NSTerminateLater with a Status Item

2011-02-14 Thread Jeff Johnson
Hi Olivier. rdar://problem/6001460 See http://lapcatsoftware.com/rdar/6001460/index.html for an explanation. In short, you won't be able to do it with a LSUIElement app. -Jeff On Feb 14, 2011, at 10:52 AM, Olivier Lance wrote: > Hi all, > > I'm facing a problem returning NSTerminateLater f

Using NSTerminateLater with a Status Item

2011-02-14 Thread Olivier Lance
Hi all, I'm facing a problem returning NSTerminateLater from applicationShouldTerminate: in a status item application... I've tried many things and followed the doc I've found, but nothing works as I'm expecting it to. In short, I want to delay the termination of my status item application (wh