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 Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Sending text from Emacs to OmniFocus Thread Tools Search this Thread Display Modes
If you run emacs in a Terminal window, you can capture tasks from it by simply selecting the text with the mouse and hitting your clippings shortcut. (There isn't a default shortcut, but F6 is a common choice: you can set your preferred shortcut in Clippings Preferences.)

But I thought it might be fun to send text directly to OmniFocus from inside Emacs itself—so here's a little code which does just that!

This script creates a new task, using the text from the selected region as the note, and generating a one-sentence summary of the note to use as the task name. (I wrote the script earlier this evening as an example, so my apologies for any bad emacs lisp style, etc.—it's been a while since I've written any emacs code!)

Enjoy!
Attached Files
File Type: zip omnifocus-capture.el.zip (1.1 KB, 214 views)
 
I'm glad there are still emacs geeks in this world :)
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending Tasks To Omnifocus From A Win PC davidhughes OmniFocus 1 for Mac 2 2010-12-01 07:00 PM
Sending iCal to do's to the iPhone OmniFocus?? wheeler586 iCal Sync 1 2010-08-31 02:28 PM
make OF action out of current emacs buffer jklymak OmniFocus Extras 3 2009-08-16 12:11 PM
Sending a Web page title to OmniFocus Ward OmniFocus 1 for Mac 3 2008-08-25 08:46 AM
Backspace sending back when deleting text in a text box GeneralAntilles OmniWeb General 7 2008-07-01 11:33 PM


All times are GMT -8. The time now is 11:15 PM.


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