Mail.app in OS X Scripting question ...
Mail.app in OS X Scripting question ...
- Subject: Mail.app in OS X Scripting question ...
- From: "Suraj K. Rai" <email@hidden>
- Date: Thu, 27 Sep 2001 18:33:03 -0700 (PDT)
Hello Scripting Gurus,
I am new to Apple Scripting and was wondering if it would be possible to write
an script that would get attributes from the message that is currently selected
in the Mail application. In fact, just wondering if it is even possible to get
a reference to the currently selected message??? Something like:
tell application "Mail"
(* get handle to message *)
set CurrentMessage to currently selected message
(* get attributes from the selected message *)
set sender to sender of CurrentMessage
end tell
I looked through the sample scripts that come with OS X but all of these focus
on composing new mail.
Thanks.
S.r.
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com