logo       

Re: command-line tweaking of "Open With..." settings?: msg#00086

lang.perl.macosx

Subject: Re: command-line tweaking of "Open With..." settings?

On Sat, 23 Apr 2005, Rich Morin wrote:

> Clues? Suggestions?

It's a lateral approach to the problem, but RCDefaultApp may be able to
help you: <http://www.rubicode.com/Software/RCDefaultApp/>

The core of RCDefaultApp is `lstool`, which you can invoke directly:

$ /Volumes/RCDefaultApp-1.2.1/RCDefaultApp.prefPane/Contents/Resources/lstool
Usage:

lstool read [<lsscheme> [<type>]]
lstool write <lsscheme> <type> <app>

<lsscheme> is one of: internet, url, extension, mime, ostype

<app> is the path to an application or a name to be looked up
$

I suspect that this can be used to do what you need. Somehow...




--
Chris Devers



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise