• 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: Applescipt in Mail rules
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescipt in Mail rules


  • Subject: Re: Applescipt in Mail rules
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 31 Jan 2014 19:19:52 +0100

Le 31 janv. 2014 à 18:12, Steve Bird a écrit :

> [...]
> That is exactly where my script has been stored in 10.6.8, but it is still ignored by Mail in 10.9.x.
>
> It doesn’t matter what’s in the script - a simple Beep() is also ignored - it just doesn’t run and doesn’t bother to tell me why.
> [...]

Hello Steve,

Quickly wrote and saved this one:

using terms from application "Mail"
	on perform mail action with messages Msgs
		repeat with Msg in Msgs
			set Msg to contents of Msg
			tell application "Mail" to set SndrName to extract name from sender of Msg
			display dialog SndrName
		end repeat
	end perform mail action with messages
end using terms from

as a script in ~/Library/Application Scripts/com.apple.mail/ and created a rule in Mail that just invokes that Applescript.

Works fine here with 10.8.5.
Currently can't test with Mavericks.

Axel


 _______________________________________________
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


  • Follow-Ups:
    • Re: Applescipt in Mail rules
      • From: Steve Bird <email@hidden>
References: 
 >Applescipt in Mail rules (From: Robert Cuilla <email@hidden>)
 >Re: Applescipt in Mail rules (From: Shane Stanley <email@hidden>)
 >Re: Applescipt in Mail rules (From: Steve Bird <email@hidden>)

  • Prev by Date: Re: Applescipt in Mail rules
  • Next by Date: Re: Applescipt in Mail rules
  • Previous by thread: Re: Applescipt in Mail rules
  • Next by thread: Re: Applescipt in Mail rules
  • Index(es):
    • Date
    • Thread