MACSCRPT Archives

October 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Christopher Stone <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 14 Oct 2009 01:22:31 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
On Oct 13, 2009, at 11:01, Bill Steele wrote:
> I'm converting some old Eudora scripts to run with Apple Mail. One  
> of the handiest objects in Eudora was "message 0" which referred to  
> the currently open and frontmost message.  Is there an equivalent in  
> Mail?
______________________________________________________________________

Hey Bill,

No.  Mail is abysmal to script, and Eudora was a dream by comparison.   
There is no simple means to discriminate between a Message Viewer  
window, a received message window, or an outgoing message window.

There is no means of getting or setting the selected text.  While you  
can create a new outgoing message with properties, you *cannot*  
determine that the front message is outgoing and *then* set its  
properties.

Apple has really dropped the ball.

--
Chris

ATOM RSS1 RSS2