• 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
Re: search in mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: search in mail


  • Subject: Re: search in mail
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 2 Jan 2011 05:19:45 -0600

On Jan 02, 2011, at 04:54, Joshua Whalen wrote:
I'm trying to write a script that will loop through inbox, and extract the subject line from every unread message a save it as a text string.
______________________________________________________________________

Hey Joshua,

Try this:

tell application "Mail"
subject of messages of inbox whose read status is false
end tell

--
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >search in mail (From: Joshua Whalen <email@hidden>)

  • Prev by Date: search in mail
  • Next by Date: Re: grep 2.7 & linked-images
  • Previous by thread: search in mail
  • Next by thread: Re: search in mail
  • Index(es):
    • Date
    • Thread