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

How to clip and parse Thread Tools Search this Thread Display Modes
I would like to write this string in a DevonThinkPro Rich Text file, send it to OmniFocus and have it parsed just as if it was an Email so that I don't have to reenter the info in the quick entry window.


Is possible?

Yes, with a little help from Applescript. I've attached a script which will take the contents of the clipboard and run it through the same parsing that would happen if it came in via email. You could bind the script to a keystroke with something like FastScripts, or if you are likely to always be using one app (DTP, for example) you could put it in that app's Applescript folder so it would appear in the script menu in that application. Select your text, do command-C to copy to the clipboard, invoke the script.

Read about how to install and use Applescripts here.
Attached Files
File Type: zip Clipboard to OmniFocus (3.3 KB, 323 views)
Way cool, whpalmer4. And thanks for such a quick answer.
How did you know about ParseStr?
Originally Posted by Mondozer View Post
How did you know about ParseStr?
I knew about it because it was my own invention :-)

It's just the variable name I chose to hold the string obtained from the clipboard, nothing special about it.

"parse tasks" is the Applescript verb that does the work. That I knew about from reading the OmniFocus Applescript dictionary in the Applescript Editor app and looking at the Applescript buried inside the OmniFocus app that gets run from Mail if you're using the email processing feature.
Very clever. I didn't know how to look inside the OF app and find how the Mail input was parsed. Anyway, thanks again. You saved me endless time and toil. Now I can get on with my work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse tasks with transport text... t.h.x. OmniFocus Extras 2 2011-02-09 06:34 PM
Escaping special characters in parse task with transport text? jcater OmniFocus Extras 0 2008-01-17 09:10 PM
Build 96640 breaks scripts using "Parse Tasks" RobTrew OmniFocus Extras 1 2008-01-02 07:42 PM
Parse & paste Lotus Notes Doclink into OmniFocus action note WillR OmniFocus Extras 6 2007-12-10 01:18 PM
Parse PDF? ToddS OmniGraffle General 5 2007-02-17 12:15 AM

All times are GMT -8. The time now is 12:57 PM.

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