• 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: Why isn't my app showing up in launched applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why isn't my app showing up in launched applications


  • Subject: Re: Why isn't my app showing up in launched applications
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 24 Jun 2005 15:13:02 +0100

On 6/24/05, matt jaffa <email@hidden> wrote:
> Hi,
>
> I launch my application as follows [[NSWorkspace sharedWorkspace]
> launchApplication:@"Pathtoapp"]
>
> This launches it, then I call: [[NSWorkspace sharedWorkspace]
> launchedApplications], and it returns an array of launched
> applications and my launched app doesn't show up in that array. And my
> Application is a GUI app with the ending .app

Are you calling launchedApplications immediately after
launchApplication? If so, try waiting. Apps are launched
asynchronously and it can take a second or two for them to check in
with the windowserver. I think there should be a notification you can
subscribe to so you can be notified when they do.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Why isn't my app showing up in launched applications (From: matt jaffa <email@hidden>)

  • Prev by Date: An API for index.html contents?
  • Next by Date: Re: Formatter questions
  • Previous by thread: Why isn't my app showing up in launched applications
  • Next by thread: Re: Why isn't my app showing up in launched applications
  • Index(es):
    • Date
    • Thread