View Single Post
Checking this out, on the one hand it looks very easy - but there's a difficult snag to deal with...

All that required is to use the existing standard "Send to omnifocus" rule thats added to mail - condition is that if the subject contains "+omnifocus", then it gets added to OF using the script /Applications/OmniFocus.app/Contents/Resources/MailAction.applescript

Its all there.

The issue is that in the Condition List, there is not a condition "If message is flagged" - as it assumes flagging is something done once you download a message, i.e. an action.

I have done a few searches on how to add a custom condition into the mail rule list, but nothing helpful popped up - if we can get this condition added to the mail rules, then this will be easy to get working.

Anyone out there got any ideas on how to add this custom condition to the mail rule set? I notice that "Smart Mailboxes" have a "If message is flagged" condition, so maybe its possible to grab the code for this from there?

Kind regards, Steve