Re: invoke script when email opened ?
Re: invoke script when email opened ?
- Subject: Re: invoke script when email opened ?
- From: Michelle Steiner <email@hidden>
- Date: Mon, 4 Oct 2010 05:03:32 -0700
On Oct 3, 2010, at 8:08 PM, Irwin Poché wrote: On Oct 3, 2010, at 7:50 PM, Michelle Steiner wrote:
On Oct 3, 2010, at 5:01 AM, Irwin Poché wrote:
Is it possible to invoke an AS when an email is opened in Mail ? What I would like to do is conditionally increase the text size ( Format > Style > Bigger ) of some emails.
this might do it, or at least provide a starting point. It will invoke when the mail is received, rather than when it is opened, though.
Here's the script:
using terms from application "Mail" on perform mail action with messages theMessages for rule theRule tell application "Mail" repeat with eachMessage in theMessages try set the size of the content of eachMessage to 16 -- or whatever point size you wish end try end repeat end tell end perform mail action with messages end using terms from
-- Michelle -- "Beware the march of ideas."
|
_______________________________________________
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