mail applescript help

Hi all,

I am trying to work around a filtering limitation in mail using AppleScript. I will spare you the gory details, and just say that I want to make a rule that will look at the ‘read status’ of a message and stop evaluating subsequent rules for all unread messages (I do a good bit of manual filtering, and I need to be able to run a batch of rules only on messages that have been read). Anyway, Mail’s rules don’t allow you to use ‘read status’ as a criterion for filtering.

In poking around in the AppleScript dictionary, it looks like both ‘read status’ and ‘stop evaluating rules’ are there, so it seems that what I want to do should be scriptable. If I can make the script work, I can simply create a rule that applies it to every message. But I can’t make it work. I can’t imagine that it would take more than a few lines of code. Can anyone help? Please? Thanks in advance!

–jmb

P.S. I’m running Tiger (10.4.2)

Did you ever figure this out? I’ve been wanting the same thing for ages: conditional processing based upon the messages read/unread state – flagged, etc.