Charles Miller wrote:

How can you run the following Applescript in py-appscript? I've tried everything I can think of.

tell application "Finder" to open application file id "com.apple.Preview"


ASTranslate is always your friend...

app(u'Finder').application_files.ID(u'com.apple.Preview').open()

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

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

Reply via email to