• 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: Sending from Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending from Mail


  • Subject: Re: Sending from Mail
  • From: LuKreme <email@hidden>
  • Date: Mon, 21 Sep 2009 06:31:54 -0600



On Sep 20, 2009, at 3:26, Philip Aker <email@hidden> wrote:

tell application "Mail"
set mlst to (get subject of every message of mailbox "x" of mailbox "y" whose sender contains "email@hidden")
end tell

The AppleScript I am writing is going to be triggered off a rule. I can't just deal with the message that triggered the rule?

How about

set mlst to (get subject of last message of mailbox "x" of mailbox "y" whose sender contains "email@hidden")

Otherwise I am going to have to move 'dealt with' messages into a separate mailbox. 
 _______________________________________________
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: 
 >Sending from Mail (From: LuKreme <email@hidden>)
 >Re: Sending from Mail (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: do shell script "command not found"
  • Next by Date: Re: do shell script "command not found"
  • Previous by thread: Re: Sending from Mail
  • Next by thread: Snow Leopard and (old) AppleScript applications
  • Index(es):
    • Date
    • Thread