[Pythonmac-SIG] associating file types and applications...
Jack Jansen
Jack.Jansen at cwi.nl
Thu Apr 1 06:52:49 EST 2004
On 1-apr-04, at 9:38, Jens Miltner wrote:
>> There *is* a way to do this, though: the various media players
>> (quicktime, itunes, realplayer, windows media) all offer to handle
>> all your mp3s and other types for you, and if you say "yes" they do
>> it (at least until you override again from the finder).
>>
>> I'm not sure whether they do this through AppleEvents to the Finder,
>> AppleEvents to something else or a completely different mechanism,
>> though.
>
> AFAIK, this is still done is through InternetConfig (even though that
> API is kind of deprecated) - you should be able to set the default
> "helper app" for a file type / mime type using the InternetConfig
> APIs...
I got the impression that the Internet Config APIs had only retained
the stuff to read settings under OSX, not the stuff to write settings.
But I may not have looked close enough...
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
More information about the Pythonmac-SIG
mailing list