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

Re: Running Scripts from Mail Rules


  • Subject: Re: Running Scripts from Mail Rules
  • From: Steve Bird <email@hidden>
  • Date: Thu, 26 Oct 2017 16:32:55 -0400

> On Oct 26, 2017, at 4:24 PM, Bob Stern <email@hidden> wrote:
>
>> On Oct 26, 2017, Steve Bird <email@hidden> wrote:
>>
>> set S to (extract name from (sender of M) as rich text)
>> say ("You have new mail from " & S)
>
> Did you try deleting “as rich text”?  It’s already plain text before the
> coercion.  Not sure how the “say” command handles a rich text argument.

1… Yes, I did… I was trying “as text” and the hammer “corrected” me.
2… That’s not where the error is.  It never gets to the GOT SENDER speech.  The
error is somewhere in the "set Nm to (sender of M)” line, but I can also use
“subject” or “id” and it still doesn’t matter.  If I make that line refer to
something besides the message, it flows thru as I would expect.


----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com                     (toll free) 1-877-676-8175




 _______________________________________________
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: 
 >Running Scripts from Mail Rules (From: Steve Bird <email@hidden>)
 >Re: Running Scripts from Mail Rules (From: Bob Stern <email@hidden>)

  • Prev by Date: Re: Running Scripts from Mail Rules
  • Next by Date: Re: Running Scripts from Mail Rules
  • Previous by thread: Re: Running Scripts from Mail Rules
  • Next by thread: Re: Running Scripts from Mail Rules
  • Index(es):
    • Date
    • Thread