[Pythonmac-SIG] appscript

Kevin Walzer sw at wordtech-software.com
Sat Oct 16 23:13:55 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been following the threads on AppleScript and appscript with a lot
of interest, and a bit of awe at has's expertise with AppleScript: it's
very impressive.

This has brought me, though, to what is perhaps a dumb question: is the
purpose of appscript to render AppleScript commands in Python syntax?
I'm a bit confused on this point.

I'm approaching this question from the perspective of Tcl, where it's
possible to drop into AppleScript directly (if you have the
TclAppleScript extension installed) using this command/syntax:


AppleScript execute {
	tell application "foo"
		do foo
	end tell
}

One can do something similar in a shell script, if I'm not mistaken, via
osascript (something like <<EOF osascript -"blah blah blah"<<EOF

I certainly don't mind learning another way to work with AppleScript,
I'm probably a bit spoiled by the simplicity of calling it in a Tcl
script. Anyway, any illumination on this point is appreciated.

Kevin


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBcY8SJmdQs+6YVcoRAuDFAJ9qGJMhs6oy3vgn2qP2KZtI+89SxQCfR6Lq
nCrJ4dd5QTVEigX6EMLb0mQ=
=uA/5
-----END PGP SIGNATURE-----


More information about the Pythonmac-SIG mailing list