• 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: invoke script when email opened ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >invoke script when email opened ? (From: Irwin Poché <email@hidden>)
 >Re: invoke script when email opened ? (From: Michelle Steiner <email@hidden>)
 >Re: invoke script when email opened ? (From: Irwin Poché <email@hidden>)

  • Prev by Date: Re: Finder: go and see this file on the server
  • Next by Date: tilde shortcut
  • Previous by thread: Re: invoke script when email opened ?
  • Next by thread: tilde shortcut
  • Index(es):
    • Date
    • Thread