From: vincem at en.com (Vincent Marchetti)
Date: 19 Apr 99 05:49:32 -0400
Subject: How to decode AppleEvent return values
Message-ID: <B3407470-6EE35A@207.180.193.87>
X-UID: 1239                                                  

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






