Re: Try to open an app from a screensaver

2015-04-25 Thread Uli Kusterer
I don’t have a certain solution, but a few things I’d try to see if anything works better or exposes behaviour that explains this issue: The log message sounds like the actively OS prevents any application except screen saver and the login window from coming to front at this moment. It sounds l

Re: Try to open an app from a screensaver

2015-04-25 Thread Stephane Sudre
On Sat, Apr 25, 2015 at 12:40 AM, Juanjo Conti wrote: > I'm developing a screensaver. I want to achieve the following: then the > user hits the key 's', stop the screensaver and open a program. > > Handling the key stroke is done, and I'm launching the program as: > > (the following code search ru

Re: Try to open an app from a screensaver

2015-04-24 Thread Juanjo Conti
That case works ok if there are no Finder windows around. On Fri, Apr 24, 2015 at 9:46 PM, Graham Cox wrote: > > > On 25 Apr 2015, at 8:40 am, Juanjo Conti > wrote: > > > > I'm developing a screensaver. I want to achieve the following: then the > > user hits the key 's', stop the screensaver an

Re: Try to open an app from a screensaver

2015-04-24 Thread Graham Cox
> On 25 Apr 2015, at 8:40 am, Juanjo Conti wrote: > > I'm developing a screensaver. I want to achieve the following: then the > user hits the key 's', stop the screensaver and open a program. Don’t know, but also consider what happens if the user has “require password when leaving screensaver

Re: Try to open an app from a screensaver

2015-04-24 Thread Juanjo Conti
In the console appears messages of this type: 24/4/15 21:37:54,345 launchservicesd[80]: Application App:"Screensaver Ninja" asn:0x0-a4ba4b pid:60486 refs=7 @ 0x7f859d3cd4d0 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x1001 pid=94 "loginwindow"", "LSApplica

Try to open an app from a screensaver

2015-04-24 Thread Juanjo Conti
I'm developing a screensaver. I want to achieve the following: then the user hits the key 's', stop the screensaver and open a program. Handling the key stroke is done, and I'm launching the program as: (the following code search runningApplications to see if the app is already running, if not it