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