The Omni Group Forums

The Omni Group Forums (
-   OmniFocus 1 for Mac (
-   -   Script for linking to an email in the attachment? (

catmorley 2012-01-16 03:14 PM

Script for linking to an email in the attachment?
Hey again,

This is a more complicated question. When I send an email, I'll create a task such as "Waiting on reply from so-and-so", set the Start to the current date and then drag the email in to the attachment field so I can quickly jump back to the email.

Is there a script out there that would do this automatically when I reply to an email (similar to the send to OmniFocus button)? This would save so much time and keep me very organised.

Thanks for your help,

LuMe96 2012-01-18 12:21 AM


the problem here is that Mail does not offer the possibility to create Rules for outgoing messages.

As far as I know, Mail Act-On ([url][/url]) adds this functionality to Mail, however I haven't tested this.

So, you'd need to install Mail Act-On and then test the following :[LIST][*]Can I create rules for outgoing messages? (Answer should be yes as this is an advertised functionality of Mail Act-On)[*]Can I define the necessary critera to identity THOSE outgoing messages I want to create a task for? (I presume you DON'T want to create a new task for ALL outgoing messages). [*]Can I fire an Applescript in the Action section? (you can for incoming messages but as mentioned above, I don't know Mail Act-On and thus have no idea as to the possibilities it offers)[/LIST]
If all the above is ok and you're willing to invest the 25$ for Mail Act-On then this should be possible.

Here's a link to an Applescript I wrote and use to add tasks from Mail to OmniFocus [url][/url].
You'll however need to modify this script slightly to make it Mail Rule compatible. Feel free to ask if you need help with this last part.


catmorley 2012-02-03 04:34 PM

Thanks for your help, I'll have to look in to that!

All times are GMT -8. The time now is 03:29 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.