powermail-discuss Digest #2922 - Thursday, May 19, 2011 Change Body Text? by "Tom Dillon" <dil...@datacraft-inc.com> Re: Change Body Text? by "Michael J. Hußmann" <mich...@michael-hussmann.de>
---------------------------------------------------------------------- Subject: Change Body Text? From: "Tom Dillon" <dil...@datacraft-inc.com> Date: Wed, 18 May 2011 20:50:09 -0600 I get a fair number of emails from clients which could use a tad bit of reformatting. (The emails more than the clients, generally.) I assumed that since a script can alter the subject of a received message, then a script should be able to change the body of one too. So, I tried the following, but got the alert saying I couldn't alter a received message. TL;DR How can I change the body of a received message? I tried: tell application "PowerMail" set msgList to the current messages repeat with msg in msgList set body of msg to pasteboard end repeat end tell Any ideas? Please feel free to laugh at my attempts to write AppleScript. :-7 -- ------------------------------------------------------------------ Tom Dillon 825 N. 500 W. DataCraft Moab, UT 84532 tomdil...@datacraft-inc.com 720/209-6502 ------------------------------------------------------------------ Madness is its own reward. --- Sunastar ------------------------------------------------------------------ ---------------------------------------------------------------------- Subject: Re: Change Body Text? From: "Michael J. Hußmann" <mich...@michael-hussmann.de> Date: Thu, 19 May 2011 12:01:33 +0200 Tom Dillon (dil...@datacraft-inc.com) wrote: >TL;DR How can I change the body of a received message? While I haven't tried it, I think the same restrictions apply as they would when you were editing the message manually. You cannot change the body text (or anything else for that matter) of a received or sent message; you have to copy it before you can make changes (to the copy). - Michael Michael J. Hußmann E-mail: mich...@michael-hussmann.de WWW (personal): http://michael-hussmann.de WWW (professional): http://digicam-experts.de ---------------------------------------------------------------------- End of powermail-discuss Digest