Mailing List Archive

How to decode AppleEvent return values
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@en.com