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

running applescripts from Mail


  • Subject: running applescripts from Mail
  • From: Mike <email@hidden>
  • Date: Wed, 12 Mar 2003 00:11:03 -0700

Are there any special conditions that apply to the OS X Mail program to
get it to run an applescript.

as an example,

I have a very simple test script

On run
Beep 2
Display dialog "A VERY IMPORTANT MESSAGE HAS ARRIVED buttons {"OK"}
default,
button "OK"
End run

I created a rule with the condition that "test" is in the subject line.
I set the action to run Applescript and navigated to the test script. I
also
set an action to color the text of the test message.

Mail colors the text upon receiving the test message so I know the rule
is
triggering but the applescript never runs. Am I overlooking something
or
the Run AppleScript not functional in mail?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: running applescripts from Mail
      • From: cricket <email@hidden>
  • Prev by Date: Adding an element to XML
  • Next by Date: Re: birth date from Address Book
  • Previous by thread: Adding an element to XML
  • Next by thread: Re: running applescripts from Mail
  • Index(es):
    • Date
    • Thread