• 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: Bryan Harris <email@hidden>
  • Date: Fri, 31 Jan 2014 13:55:10 -0600

Hello,

On Jan 31, 2014, at 12:39 PM, Steve Bird <email@hidden> wrote:
On Jan 31, 2014, at 1:19 PM, Axel Luttgens <email@hidden> wrote:
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.

The original poster, and I, were referring to Mail in Mavericks.

It works for me in 10.9.1.  I’m not sure if it matters but I recently installed the O/S using the ⌘-R during boot screen method.  I tried attaching a picture but the mailing list said my message was too big.

V/r,
Bryan
 _______________________________________________
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: Axel Luttgens <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>)
 >Re: Applescipt in Mail rules (From: Axel Luttgens <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