could be responsible for various unexplained problems with Python/OSA
interaction over the years):
- Enum values were passed as their string counterparts. Most applications
don't seem to mind this, but some do (InDesign).
- Attributes have never worked (!), as they were incorrectly passed
as parameters. Apparently nobody uses them much:-)
for key, value in parameters.items():
packkey(ae, key, value)
for key, value in attributes.items():
- packkey(ae, key, value)
+ ae.AEPutAttributeDesc(key, pack(value))
#
# Support routine for automatically generated Suite interfaces
v = arguments[key]
ok = edict.values()
if edict.has_key(v):
- arguments[key] = edict[v]
+ arguments[key] = Enum(edict[v])
elif not v in ok:
raise TypeError, 'Unknown enumerator: %s'%v