The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Mail Integration Thread Tools Search this Thread Display Modes
New user here. Sorry if this has been addressed already--my quick search found nothing.

I love the apple mail integration. I'm wondering, when I set up the rules inside omnifocus to make it look for messages started with "--" it conveniently clips that prefix off of the created task.

I'm integrating this feature with reQall and have set the triggering prefix to "Added: " since that is what reQall prefixes its messages with.

Here's my question: how can I edit the omnifocus applescript to clip off that prefix too? I'm no apple script expert, but if someone can point me in the right direction I'm sure I can figure it out.
 
The script you'll want to clone/edit is stored inside OmniFocus' application bundle. To get at it, you'll want to right click on OmniFocus, select "Show Package Contents" and then navigate to this location:

OmniFocus.app/Contents/PlugIns/BuiltInClippingHandlers.plugin/Contents/Resources/

You'll probably want to open the "Mail-Leopard" applescript, then save a copy out to your desktop. (Customize a copy, not the original, in other words.)

I think the best way to do this would be to change the way the "on clipping" script handles the MyName parameter.

Just before the "set name to MyName" line, I believe you'll want to insert some script that looks for the appropriate characters at the start of the subject and then trims them out. A google search on "Applescript text manipulation" should return some useful links.

Once you have the customized applescript, store it someplace other than the desktop. At that point, you can duplicate the existing OmniFocus rule, then change the "Run Applescript" line to point at your custom script instead of the one in OmniFocus' app bundle.

Hope this helps!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Omnifocus Mail Integration in Mail Version 4.3 (1081) cummins OmniFocus 1 for Mac 1 2010-07-12 05:01 AM
Mail integration Mixalis OmniFocus 1 for Mac 2 2008-07-15 06:33 AM
Mail Integration -vs- Mail Signatures choppingblock OmniFocus 1 for Mac 11 2008-06-15 11:55 AM
Problem with Mail.app integration Rudedog OmniFocus Extras 3 2007-11-28 07:26 PM
Mail Tags integration sprocketjockey OmniFocus 1 for Mac 9 2007-07-04 11:36 AM


All times are GMT -8. The time now is 04:03 AM.


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