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)
-   -   Mail, Omnifocus and Mail Act-On (http://forums.omnigroup.com/showthread.php?t=27699)

Pablofp 2013-01-07 01:57 AM

Mail, Omnifocus and Mail Act-On
 
After a lot of searching, and getting nowhere, I have finally found a very easy way to trigger "OF: Send to my inbox" using Mail Act-On.

I wanted to have a rule to flag a message, and send it to OF at the same time. The OF script was not working (I put it in the new com.apple.mail folder, etc). I reviewed the OF and MAO forums and couldn't find an easy answer (I am not an applescript expert).
I decided to create my own script to trigger for the Omnifocus Service. I couldn't find a way to trigger services from applescript (again I know almost nothing about this topic), but I found that you can simulate keystrokes. I used my "Clippings Shortcut" in this very short script:
-------
tell application "System Events"
key code 124 using {command down, option down}
end tell
-------
Added this applescript as the next item in MAO rule and... back to productivity.

Hope this helps someone else.


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

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