[Pythonmac-SIG] converting Mac 'path' to file path in appscript?
Bill Janssen
janssen at parc.com
Thu Jun 19 20:15:46 CEST 2008
Can someone tell me how to convert the old Classic-style paths
returned from many of the appscript properties to real OS X file
paths? Is there some appscript constructor which takes a path
as an argument and returns a Unix path?
Here's an example:
>>> app('Microsoft Word').active_document.path()
u'wolfe:downloads'
>>>
That should be "/downloads".
By the way, I'll update the appscript Wiki page with the answers I
get.
Bill
More information about the Pythonmac-SIG
mailing list