Move Mail messages to named folders via AppleScript

May 26, '04 09:32:00AM

Contributed by: gadg

To sort messages in Mail.app when I want, I wrote this script. It gets the senders' email address from the sender of each selected message, matches this to Address Book and looks for a mailbox with the full name as used in Address Book. If succesful, it moves the message.

Adding the script in the hint text is a bit too much, so I put it online for you guys to download here. Please read the page before downloading, as you also need the 24U Appearance OSAX 2.1 library.

[robg adds: The script is too long to easily attach to this hint, so I've also mirrored it in the macosxhints' downloads section: Move to Named Folders [30KB].]

Comments (12)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040524152657132