I'm making an installer for OS X which will install the latest version of my app while leaving any older version the user may have installed intact.

But when the user double-clicks a document associated with my app, I want to make sure the Finder associates that document type with the new app, not the older version they user may have been using.

In the Finder's Get Info window there's a way to tell the OS to associate a specific doc type with a specific application. How can I do this programmatically in my installer? Is there some nifty AppleScript command to do that?

TIA -

--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to