[Pythonmac-SIG] AppleEvents in MacPython 2.3?

Bob Ippolito bob at redivi.com
Mon Aug 11 17:04:31 EDT 2003


On Monday, Aug 11, 2003, at 15:30 America/New_York, Paul Berkowitz 
wrote:

> On 8/11/03 12:20 PM, "Bob Ippolito" <bob at redivi.com> wrote:
>
>> Hey, at least the TextEdit scripting dictionary does what it says and
>> says what it does.. unlike some of the applications developed by
>> AppleEvent savvy teams, like iTunes for example has an "artwork" class
>> that isn't a property or element of anything in the dictionary, but in
>> reality it *is* an element of a track.  Also, the shared track stuff 
>> in
>> the dictionary is totally bogus, there's two of them and neither do
>> much of anything.
>
> True enough. (Although TextEdit's 'save in' takes POSIX paths instead 
> of
> colon AppleScript paths, but doesn't tell you so.) Mail.app is very 
> hairy
> too - virtually unscriptable, whereas Address Book is not bad and 
> getting
> better all the time.

I've scripted Mail.app just fine for simple tasks (counting messages in 
folders and such).  There's even an example of this in aeve.

-bob




More information about the Pythonmac-SIG mailing list