On 1/1/02 7:29 PM, Paul Berkowitz <[EMAIL PROTECTED]> wrote: > On 1/1/02 4:54 PM, "Adam Bailey" <[EMAIL PROTECTED]> wrote: > >> Is there a way, such as with an AppleScript, to set or change the "Account" >> designation of a particular email? Any message I import is without this, and >> I'd like to be able to establish it. >> >> Thanks! > > Run this script from a Mail (POP) rule for incoming POP account messages, or > a Mail (IMAP) rule on incoming IMAP messages, with whatever criteria you > want: > > tell application "Microsoft Entourage" > set theMsg to item 1 of (get current messages) > set account of theMsg to POP account "My Other AccountName" -- or IMAP > end tell > > You have to designate the account type as POP account or IMAP account.
One problem: this only seems to work on one message at a time. If I highlight several, only the first will be marked. More importantly, if I set a rule to run this script, it doesn't work on *each* message that matches the rule. (I'm unclear if it's acting on the first message, or none at all.) -- Adam Bailey | Chicago, Illinois [EMAIL PROTECTED] | Finger/Web for PGP [EMAIL PROTECTED] | http://www.lull.org/adam/ -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
