• 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: NSWorkspace openFile: bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSWorkspace openFile: bug?
      • From: Paul Borokhov <email@hidden>
    • Re: NSWorkspace openFile: bug?
      • From: John Stiles <email@hidden>
References: 
 >NSWorkspace openFile: bug? (From: Paul Borokhov <email@hidden>)
 >Re: NSWorkspace openFile: bug? (From: John Stiles <email@hidden>)
 >Re: NSWorkspace openFile: bug? (From: Paul Borokhov <email@hidden>)
 >Re: NSWorkspace openFile: bug? (From: John Stiles <email@hidden>)
 >Re: NSWorkspace openFile: bug? (From: Paul Borokhov <email@hidden>)

  • Prev by Date: Re: NSWorkspace openFile: bug?
  • Next by Date: Re: NSWorkspace openFile: bug?
  • Previous by thread: Re: NSWorkspace openFile: bug?
  • Next by thread: Re: NSWorkspace openFile: bug?
  • Index(es):
    • Date
    • Thread