Re: Setting Message Color in Mail
Re: Setting Message Color in Mail
- Subject: Re: Setting Message Color in Mail
- From: Brian Christmas <email@hidden>
- Date: Mon, 13 Feb 2012 21:03:57 +1100
On 13/02/2012, at 8:02 PM, KOENIG Yvan wrote: Le 13 févr. 2012 à 07:56, Rick Gordon a écrit : I'm just looking at using Apple Mail, after having been a Eudora user for years. Looking through the AS dictionary (10.6), I'm not seeing a property for setting the message color (as viewed in the list of the message viewer). What am I missing?
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
If I understand well, you need to set the message's property: background color but I don't know if it's available in 10.6. It's available in 10.7 Yvan KOENIG (VALLAURIS, France) lundi 13 février 2012 10:02:15
G'day Rick
I think something like this will work in 10.6.
Regards
Santa
tell application "Mail" set temp to message 2 of mailbox "* items to manually process" set background color of temp to purple end tell
tell application "Mail" tell message viewer 1 try set tempMessageList to (get the selected messages) repeat with eachMessage in tempMessageList set background color of eachMessage to red end repeat on error errmsg number errnum if errnum = -1719 then display dialog "You must select some Mail." else
display dialog errmsg & " " & errnum end if end try end tell end tell
I've tried setting the 'other' property, but to no avail, even tho it's available from the Finder.
set background color of eachMessage to {1234, 1234, 1234} doesn't work
|
_______________________________________________
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