How to decode AppleEvent return values

Vincent Marchetti vincem at en.com
Mon Apr 19 05:49:32 EDT 1999


I am using the aetools.TalkTo class and methods generated by
gensuitemodule.py to send AppleEvents to an app (In this case, 
CodeWarrior). Some scripting calls to CodeWarrior
 return a class defined by the application,
[e.g. the type 'Segment' from CodeWarrior AppleScript dictionary]
which is returned by aepack.unpack as a type 'Unknown'. Is there
a way to decode the data attribute of the Unknown class returned by Python
or do I need to write my own functions to do this?

Thanks, 

Vincent Marchetti
vincem at en.com






More information about the Python-list mailing list