Skip navigation.
 
mlcommand-line tweaking of "Open With..." settings?
FROM : Rich Morin
DATE : Sat Apr 23 22:42:07 2005

I have an AppleScript Application which I wish to have launched
whenever a file named "*.xyz" is double-clicked.  I can do this
using the Finder's Get Info dialog (ie, "Open With...", then
"Other...", then "Change All..."), but I want to do this from an
installation shell script, so I need a "command line" solution.

I have tracked the setting down to the file

  /Library/Preferences/com.apple.LaunchServices.plist

but the contents of the setting that Get Info creates are rather
obscure (to me), so I don't know how to replicate them.

Clues? Suggestions?

-r


--
email: <email_removed>; phone: +1 650-873-7841
http://www.cfcl.com        - Canta Forda Computer Laboratory
http://www.cfcl.com/Meta  - The FreeBSD Browser, Meta Project, etc.

Related mailsAuthorDate
mlcommand-line tweaking of "Open With..." settings? Rich Morin Apr 23, 22:42
mlRe: command-line tweaking of "Open With..." settings? Steve Gehrman Apr 25, 05:24
mlRe: command-line tweaking of "Open With..." settings? Matt Neuburg Apr 25, 16:47