Jump to content

New OmniFocus Task With File Attachement

Recommended Posts

Hi Everybody,


just got my mega supporter license and "Wow. Alfred 2 is fast!"


Just created my first workflow: A File Action that creates a new OmniFocus Task with the File attached. Took me some time to get the applescript right (started out with the script in a screenshot http://patricklenz.com/posts/create-omnifocus-tasks-via-hazel-redux/ that didn't work for me) and refined it a little.


You can download it here: http://d.pr/f/zdSH


If you find any bugs just let me know.





Link to comment

This sounds great. Can it add items to places other than the inbox? Can it add tasks without files? Can it add a task with a specific context and folder and project? This would be pretty great to expand to control Omnifocus completely. Maybe it could even add folders, projects, and contexts...

Link to comment

No, it can't. There is already an extension for OF in Alfred 1 (http://support.alfredapp.com/extensions:productivity). I assume that it will migrated to Alfred 2.


You can easily define your own WF for 2 using the script in http://forums.omnigroup.com/showthread.php?t=21781. Creating a task with an embedded file was something I hadn't found else where so I created FW to get a feel for Alfred 2. It was a bit trickier than I thought.


(If Alfred 2 is released and nobody creates new WF for OF, I might create & share them. But OF2 is also in the making so let's see that they provide in terms of Applescript support, etc).

Link to comment

From a blog post on OF2 that comes from the Omnigroup:


The Pro edition of OmniFocus will offer the option of building custom workflows like OmniFocus 1 does today, with its support for Perspectives and AppleScript.


So, they indicate that the regular version will leave out support for those things. Annoying.

Link to comment

I've only just signed up as a Mega Supporter and played around with Alfred 2 Workflows for the first time this evening. My first attempt was a simple OmniFocus workflow, just to get a task into the Inbox, as I can never remember the hot key combination that I defined for the OmniFocus quick entry box. (I posted it online here but it's very basic and nothing most Alfred users couldn't figure out for themselves). 


Getting Alfred 2 and the forthcoming OmniFocus 2 working together seems like a really promising opportunity. Looking forward to seeing what additional AppleScript support is in OF2.  

Link to comment
  • 2 weeks later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...