Re: NSWorkspace openFile: bug?
Re: NSWorkspace openFile: bug?
- Subject: Re: NSWorkspace openFile: bug?
- From: "Sean McBride" <email@hidden>
- Date: Fri, 5 Jan 2007 14:46:07 -0500
- Organization: Rogue Research
On 2007-01-05 11:40, Paul Borokhov said:
>> You can query Launch Services directly to try to find the object by
>> its bundle identifier. Not sure why that would work better than
>> launchAppWithBundleIdentifier, but it's worth a shot.
>
>Hmmm...is this possible in a Cocoa app?
You can use Launch Services in a Cocoa app, yes. But I think that LS is
only really useful for launching apps and docs, I've never tried it with
a pref pane.
>> Not sure about your exact question, but are you trying to display the
>> Growl pref pane to the user?
>>
>> If so, I suggest this instead, it works well in my app:
>
>Thanks, I'll take a look!
I think it's the best solution.
>> You could use
>> AppleEvents directly if you're that concerned.
>
>I tried reading the docs for this, but got discouraged too
>quickly....how exactly would I go about doing this using AE?
Agreed. AEs are messy, I was also put off quickly. The AppleScript
method I showed you works fast enough, even on my G4.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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