The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus 1 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=38)
-   -   Script for linking to an email in the attachment? (http://forums.omnigroup.com/showthread.php?t=23225)

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,
Cat

LuMe96 2012-01-18 12:21 AM

Hi,

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]http://www.indev.ca/MailActOn.html[/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]http://bit.ly/yU0yxl[/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.

Bye

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 12:23 PM.

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