boolean values in appleevents - solution
Lee Phillips
lee at leeHYPHENphillips.org.invalid
Fri Feb 8 10:21:02 EST 2002
As several people were kind enough to suggest, I joined the
mailinglist at <http://mail.python.org/mailman/listinfo/pythonmac-sig>
where I indeed got a solution within a day.
One Vincent Marchetti explains that if you put this in your python
script:
import aetypes
AETrue = aetypes.Boolean(1) # or AEFalse = aetypes.Boolean(0)
then you can use AETrue and AEFalse as the boolean flags. It seems to
work.
More information about the Python-list
mailing list