Send an action from Alfred.app to OmniFocus
1 Attachment(s)
Running with Crayons just released their latest version of [URL="http://www.alfredapp.com/"]Alfred[/URL] 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[/CODE] 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: [I]"of Burn the body"[/I] To add the action "Get milk" to the project "Groceries" with the context "Errands" type: [I]"of Get Milk @Errands ::Groceries"[/I] Regards, J. |
Really nice!
For those running alfred there is now an extension for running scripts from the scripts folder (~/Library/Scripts). Works really well with omnifocus. You can get it here: [url]http://techpragmatist.co.uk/content/applescripts-and-alfred[/url] |
How do you enable extensions. I have the newest version and don't see that option.
|
[QUOTE=menza;100605]How do you enable extensions. I have the newest version and don't see that option.[/QUOTE]
You need the PowerPack. This requires the paid version, download from the Alfred web site. It's not available in the Mac App Store version of Alfred. |
I tried and i does not work for me.... I am running Lion 10.7.2 and latest version of Alfred.
|
kewl! works like a charm.
Thank you, Paul |
Works as advertised. Nifty - thanks.
|
cool one...
Thanks for the well- explained extension!
cheers, mat |
OmniFocus crashes if it isn't already running when I use this extension. Anyone else seeing this?
|
Dirty Hack
I had the same behavior when OmniFocus was closed.
I found two non-optimal solutions which involve adding lines after "tell application": 1. activate Problem with this is that OmniFocus will always be brought to the front. 2. launch delay 1 Problem with this is that the "delay 1" is dependent on the system and is not guaranteed not to crash in the same way. It would be best to ensure that OmniFocus is ready to receive commands, but I don't know enough AppleScript or have the time to do further digging. |
All times are GMT -8. The time now is 08:46 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.