• 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: Yosemite Mail - Creating a Rule - Failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yosemite Mail - Creating a Rule - Failure


  • Subject: Re: Yosemite Mail - Creating a Rule - Failure
  • From: Deivy Petrescu <email@hidden>
  • Date: Fri, 25 Sep 2015 19:48:54 -0400

>
> -------------------------------------------------------------------------------------------
> # Worked in 2011 — on Snow Leopard I believe.
> # Fails on Yosemite.
> -------------------------------------------------------------------------------------------
> tell application "Mail"
>   set newRule to make new rule at end of rules with properties {name:"Woohoo rule", forward message:"email@hidden"}
>   tell newRule
>     make new rule condition at end of rule conditions with properties {rule type:message content, qualifier:does contain value, expression:"woohoo"}
>   end tell
> end tell
>
> -------------------------------------------------------------------------------------------
>
> --
> Best Regards,
> Chris
>
> _______________________________________________

It works here.
EC.

Deivy Petrescu
email@hidden




 _______________________________________________
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: 
 >Yosemite Mail - Creating a Rule - Failure (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Yosemite Mail - Creating a Rule - Failure
  • Next by Date: Re: Apple Mail "Smart Mailboxes" and Rules...
  • Previous by thread: Re: Yosemite Mail - Creating a Rule - Failure
  • Next by thread: Make New Rule Condition with AppleScript and Access it Via System Events
  • Index(es):
    • Date
    • Thread