[Pythonmac-SIG] AppleEvents in MacPython 2.3?

Stonewall Ballard sb.list at sb.org
Mon Aug 11 15:54:39 EDT 2003


Bob,

That looks like it might be useful, but the aeve dl link
<http://undefined.org/python/aeve-0.0.2.tgz> is broken.

 - Stoney

On 8/11/03 2:29 PM, "Bob Ippolito" <bob at redivi.com> wrote:

> Try aeve .. from http://undefined.org/python/
> 
> import aeve
> textedit = aeve.talkto('/Applications/TextEdit.app')
> print textedit.documents[0].text
> 
> Currently, I think aeve just coerces text to a python string and
> doesn't give you access to asking for paragraph/word/etc.  I'll
> probably change that in the future.
> 
> -bob
> 
> The only reason the "word" stuff works is because AppleScript handles
> that stuff internally
> 




More information about the Pythonmac-SIG mailing list