On Sat, Apr 25, 2015 at 12:40 AM, Juanjo Conti <jjco...@carouselapps.com> 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 runningApplications to see if the app is already > running, if not it's open with launchApplicationAtURL. Finally I take it to > foreground with activateWithOptions) > […] > > After that i raise the event that finish the screensaver. > > The problem is that sometimes, if there is a Finder window open, my app > ends at the bottom of it (!) Anybody knows why can this be happening?
And this does not happen when there is another application's window? Because this looks like the same kind of issue you can encounter when you open a Cocoa app without a menu bar and its icon in the Dock. > -- > > Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com > <jjco...@carouselapps.com>> > > Software Engineer - Carousel Apps <https://carouselapps.com> > > -- > […] Bunch of boring legal terms […] _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com