• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Try to open an app from a screensaver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Try to open an app from a screensaver


  • Subject: Re: Try to open an app from a screensaver
  • From: Stephane Sudre <email@hidden>
  • Date: Sat, 25 Apr 2015 11:47:08 +0200

On Sat, Apr 25, 2015 at 12:40 AM, Juanjo Conti <email@hidden> 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
> <email@hidden>>
>
> Software Engineer - Carousel Apps <https://carouselapps.com>
>
> --
> […] Bunch of boring legal terms […]

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >Try to open an app from a screensaver (From: Juanjo Conti <email@hidden>)

  • Prev by Date: Re: Try to open an app from a screensaver
  • Next by Date: Display a UIAlertView after dismissing an action sheet?
  • Previous by thread: Re: Try to open an app from a screensaver
  • Next by thread: Display a UIAlertView after dismissing an action sheet?
  • Index(es):
    • Date
    • Thread