Hello,
I want to be able to press a keyboard combination and change any highlighted message (or messages) to a specific color. For example, if I press 1 (or Cmd-1 or some other combination) with a message selected in Apple Mail, the message will change to background color red, 2 will change to green, etc. This is similar to what Mozilla Thunderbird can do.
I am new to Applescript, and I am having trouble creating even a very simple one to do this. I named the applescript Red, and it will take one message and color it red. I wrote it as follows:
tell application “Mail”
set background color of message to red
end tell
It does not work. Does anyone have suggestions to 1. make it work, and 2. make it work when multiple messages are selected at once? Thanks for the help!
Jason