Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:

> Could you please tell my how I apply the "OSType" method to an UTI?
> Something like LaunchServices.UTType.UTGetOSTypeFromString(UTI) ?

Well, this is the blind leading the blind, but yes, that looks close to
right to me.  You can say,

  from LaunchServices import UTGetOSTypeFromString
  ostype = UTGetOSTypeFromString(uti)

Greetings from the Golden Gate!

Bill
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to