• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mail.app in OS X Scripting question ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: [semi-ANN] Radix Sort handler
  • Next by Date: Delete extension
  • Previous by thread: Keychain support and pulling out my hairs
  • Next by thread: Delete extension
  • Index(es):
    • Date
    • Thread