• 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: Undocumented Launch Services API?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undocumented Launch Services API?


  • Subject: Re: Undocumented Launch Services API?
  • From: Nicholas Riley <email@hidden>
  • Date: Thu, 20 Mar 2003 15:00:24 -0600
  • Mail-followup-to: Finlay Dobbie <email@hidden>, Nathan Day <email@hidden>, Steve Gehrman <email@hidden>, email@hidden

On Thu, Mar 20, 2003 at 06:00:04PM +0000, Finlay Dobbie wrote:
>
> On Thursday, March 20, 2003, at 02:55 pm, Nathan Day wrote:
>
> >If you just want to change one document and not all documents of the
> >same type, then you can just change the documents creator code, you
> >can do this with NSFileManager and the method
>
> Not all applications have creator codes, though, do they? I mean, I
> would have thought things would be bundle identifier-based internally
> in LS, no?

Both, and alias-based in some cases - some apps don't have bundle IDs,
and LS also needs to be able to distinguish between versions of apps.
I believe the 'open with' stuff actually adds a resource to the file.

Please file bugs if you need this functionality - there's an
incredible number of functions in LS which are really useful and I
have no idea why they aren't exposed. I really hate using
undocumented API, but it's the only choice at the moment.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Undocumented Launch Services API? (From: Nathan Day <email@hidden>)
 >Re: Undocumented Launch Services API? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: convert dokuments to pdf!?
  • Next by Date: Re: NSRunLoop looping more than once?
  • Previous by thread: Re: Undocumented Launch Services API?
  • Next by thread: Re: Undocumented Launch Services API?
  • Index(es):
    • Date
    • Thread