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

 
Send an action from Alfred.app to OmniFocus Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Running with Crayons just released their latest version of Alfred which supports extensions.

On of the first things I did was to write an applescript which adds an action directly to OmniFocus.

If you would like to be able to do the same:

In the preferences, under extensions, add a new applescript with the following details:

Title: Add to OmniFocus
Description: Action! @Context ::Project #Start #Due $Duration //Note
Keyword: of
Options: Background checked, Action unchecked
Applescript:

Code:
on alfred_script(q)
tell application "OmniFocus"
	tell default document
		parse tasks with transport text q
	end tell
end tell
end alfred_script
The script uses the same syntax as the syntax which is used to send an email to OmniFocus
(Look under under OmniFocus Help for: processing mail messages into actions).

To add "Burn the body" directly to your inbox type:

"of Burn the body"

To add the action "Get milk" to the project "Groceries" with the context "Errands" type:

"of Get Milk @Errands ::Groceries"

Regards,

J.
Attached Thumbnails
Click image for larger version

Name:	Alfred to OmniFocus script.png
Views:	2744
Size:	47.9 KB
ID:	1986  
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniFocus and Alfred 2 workflow wilsonng OmniFocus Extras 7 2013-05-08 08:52 AM
OmniFocus 2 Standard and Alfred gattaca OmniFocus 2 for Mac (Private Test) 13 2013-04-16 02:08 PM
Send to Omnifocus mcortina OmniFocus Extras 0 2011-07-11 10:04 AM
Send to Omnifocus? bcalloway OmniFocus for iPhone 2 2010-01-23 07:24 PM
Restoring deleted proj./action on Mac [A: Open OmniFocus backup on Mac, copy action.] MichaelG OmniFocus for iPhone 4 2009-08-31 09:52 PM


All times are GMT -8. The time now is 06:51 AM.


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