• 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: Launching script using Rules in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching script using Rules in Mail


  • Subject: Re: Launching script using Rules in Mail
  • From: Craig D Sutherland <email@hidden>
  • Date: Thu, 24 Jul 2003 10:52:03 -0500

Brian,
In the Rules settings of Mail preferences, under Perfor the following actions, Run Applescript.

Craig

On Thursday, July 24, 2003, at 10:06 AM, Brian Binotto wrote:
I can not for the life of me figure out how to get an applescript to run
from
within the Rules of Mail. I know the rules I have set-up are correct, it
just
will not run the selected applescript.

Has anyone gotten this to work? Below is the first part of the script I
would like Mail to run.

tell application "Mail"
set theMessage to message 1 of in mailbox
set theSubject to subject of theMessage
set theContent to the content of theMessage
set senderAddress to sender of theMessage
end tell
_______________________________________________
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: Launching script using Rules in Mail
      • From: Brian Binotto <email@hidden>
References: 
 >Launching script using Rules in Mail (From: Brian Binotto <email@hidden>)

  • Prev by Date: Launching script using Rules in Mail
  • Next by Date: System Events
  • Previous by thread: Launching script using Rules in Mail
  • Next by thread: Re: Launching script using Rules in Mail
  • Index(es):
    • Date
    • Thread