• 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
How to update LaunchServices database?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to update LaunchServices database?


  • Subject: How to update LaunchServices database?
  • From: Anton Leuski <email@hidden>
  • Date: Tue, 21 May 2002 23:03:23 -0400

Is there a way to update LS database programmatically? I have a service application with extension '.service' that sits in Library/Services. The application defines a document type with extension '.foo' with its own icon and claims its viewer role as 'None'. What I want is that all documents with .foo to have that icon. However, Finder ignores my service application while building its LS database and all documents .foo are shown with generic document icon. I can force Finder to recognize those files and show the correct icon by using "Open with" dialog and pointing Finder to my service application. I am looking for a way to do that programmaticaly, i.e., from my service app and not from Finder.

Thank you

-- Anton
_______________________________________________
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.

  • Prev by Date: Crash while making NSDictionary... Help!
  • Next by Date: Re: Build Log
  • Previous by thread: Re: Crash while making NSDictionary... Help!
  • Next by thread: Setting __MyCompanyName__
  • Index(es):
    • Date
    • Thread