Re: Why isn't my app showing up in launched applications
Re: Why isn't my app showing up in launched applications
- Subject: Re: Why isn't my app showing up in launched applications
- From: matt jaffa <email@hidden>
- Date: Fri, 24 Jun 2005 21:50:44 -0600
So I think I have it partly figured out, my app has LSUIElement set to
"1" so it doesn't show up in the Doc. Well launchedApplications
doesn't like this and won't report it. But when I set it to
LSUIElement equal to "0" launchedApplications detects it. Any
workaround this?
On 6/24/05, Finlay Dobbie <email@hidden> wrote:
> Well, all I can say is "worksforme". Can you narrow down a small test case?
>
> -- Finlay
>
> On 6/25/05, matt jaffa <email@hidden> wrote:
> > I do call launchedApplications right after, but then just to test
> > minutes later I call it again in a different app and it doesn't show
> > up there either.
> >
> > Matt
> >
> > On 6/24/05, Finlay Dobbie <email@hidden> wrote:
> > > 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