[PYTHONMAC-SIG] AppleEvents to Eudora

Bill Bedford billpy@mousa.demon.co.uk
Fri, 20 Jun 1997 17:29:31 +0100


At 1:52 pm +0100 20/06/97, Doug Wyatt wrote:
~Hello all,
~
~I've read enough of the tutorial on AppleEvents/scripting to know that the
~answer to this is non-obvious ... :)
~


~class Eudora (aetools.TalkTo, Required_Suite.Required_Suite, \
~		Standard_Suite.Standard_Suite, Eudora_Suite.Eudora_Suite):
~	"""A class that can talk to Eudora"""
~	kSig = 'CSOm'
~
~from aetypes import ComponentItem
~template = """		# copied from aetypes
~class %s(ComponentItem): want = '%s'
~"""
~exec template % ('EuMailFolder','euMF')
~exec template % ('EuMailbox', 'euMB')
~exec template % ('EuMessage', 'euMS')
~
~	eu = Eudora(Eudora.kSig, start=1)
~	eu.make(None, new='message', at=EuMailbox('Out', EuMailFolder('')))
~
~Maybe the problem is as simple as my not knowing how to specify the end of
~the mailbox, or maybe I completely don't know what I'm doing.  I'd
~appreciate any small pointers.  Thanks,
~

Doug

It's not you.

None of the AS preposition are defined in python yet.

I've been rewritting the AE modules and if you give me a couple of days I
will try and get them incorporated.






_______________
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
_______________