[Pythonmac-SIG] Applescript Confusion?
Schollnick, Benjamin
Benjamin.Schollnick@usa.xerox.com
Mon, 04 Mar 2002 13:41:06 -0500
Folks,
I'm a little confused...
I'm attempting to help with simplifying some automation here...
I'd like to setup a Python program to automatically run some
Applescript commands here....
(Freehand 10, Open command...)
But I don't see any way to do the equivalent of:
tell application "Macromedia Freehand 10"
open "filename"
end tell
I suspect it's possible, but I'm not sure how to do it in
python...
(And I've got the OPEN syntax wrong, but my Applescript
book is at home.... Anyone want to fix it?)
The entire idea, is that I could use SYS.ARGV to change the
name of the application, and the open target...
Thus our automation becomes a little simpler...
- Benjamin