[Pythonmac-SIG] rewritten documentation for OSA
Steven Majewski
sdm7g@Virginia.EDU
Fri, 18 Jan 2002 09:27:18 -0500 (EST)
On Fri, 18 Jan 2002, Michael J. Barber wrote:
> I have rewritten the documentation for using OSA in Python. Mainly, I
> reorganized the document to make it easier to use when I was generating
> some packages with gensuitemodule.
Nice work, Michael! (and nice timing, since I was about to delve into
trying to do some of that stuff.) I'll send you more detailed
comments after I've worked thru the examples.
>
> The revised version stands pretty well as it is, but there were some
> spots that I wasn't entirely clear on. These are generally marked by
> comments in the html source. I didn't make any attempt to address OS X,
> so that could be addressed as well.
>
The main point to make for OSX is that (as I was telling Dan) AppleEvents
do actually work to and from the unix command line mach-o python.
I wasn't even sure whether it was supposed to work when I tried it --
I asked on one of the osx lists if this ( AEs from non GUI apps ) was
likely to disappear or would be supported in the future and someone
reminded me (Duh!) about Apple's osascript/osacompile command line
tools.
One termonological point: I thought an 'Open Scripting Extension'
meant something more specifically like what bill fancher <bfancher@mac.com>
is doing -- actually writing an extension for OSA rather than a
program that uses OSA and AppleEvents.
-- Steve Majewski