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

Scripts via rules in Mail


  • Subject: Scripts via rules in Mail
  • From: Christian Boyce <email@hidden>
  • Date: Sat, 20 Dec 2003 12:28:05 -0800

Two questions:

1. How do I script Mail to print an incoming message? I have one message coming in every day, always with a predictable subject line, and I want to print it when it comes in. I can't figure out how to print the message. I can make a rule that looks for the subject, and have it run a script, but what to put into the script?

2. I want to make a script that looks at all incoming messages and have it speak out loud the names of the senders (a short list-- not the sender of every message). The result would be something like "You have one message from Tom, two from your mother, and nine others." I would settle for doing this on a message-by-message basis, either saying "Message from Tom" or "Message from your mother" or whatever as the messages come in. My problem is I can't get started-- how do I tell mail to look at the incoming messages? Once there, I think I can say "if the sender includes "tom" then (blah blah blah)" but how to get to "there?"

I think both of these questions are sort of the same-- I need to get to Square One with the script. The rule part I can handle, and the logic within the script I can handle too. It's getting started that has me stumped.

Thanks for this--

cb

--
Christian Boyce
Macintosh Consultant

310-452-3720
http://www.christianboyce.com

Free Mac consultations for firefighters through 12/31/2003.
Contact us for details.
_______________________________________________
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.

  • Prev by Date: Sorting IP addresses - Progress
  • Next by Date: Re: Make new folder with icon from image?
  • Previous by thread: [OT] Re: applescript-users digest, Vol 3 #2266 - 6 msgs
  • Next by thread: Move an item dropped into a folder & launch an app
  • Index(es):
    • Date
    • Thread