Re: [Pythonmac-SIG] translate applescript to appscript

2011-06-30 Thread Adam Morris
> mactypes.Alias(unicodedata.normalize('NFD', os.path.abspath(path))) I want the result to respond to the Finder's dictionary, though, so wouldn't I need the Finder to wrap it rather than from the mactypes module? comment.get() on the resulting object doesn't work. ___

Re: [Pythonmac-SIG] translate applescript to appscript

2011-06-30 Thread Henning Hraban Ramm
Am 2011-06-30 um 13:52 schrieb Adam Morris: I have an AppleScript snippet that I need translating to python appscript; too low-level for ASTranslate to handle: tell application "Finder" "/Users/brainysmurf/Desktop" as POSIX file as alias end tell mactypes.Alias(unicodedata.normalize('

[Pythonmac-SIG] translate applescript to appscript

2011-06-30 Thread Adam Morris
I have an AppleScript snippet that I need translating to python appscript; too low-level for ASTranslate to handle: tell application "Finder" "/Users/brainysmurf/Desktop" as POSIX file as alias end tell I'm writing a wrapper class for the Finder and want to be able to pass /path/to/doc to