Topic: https://brettterpstra.com/2011/07/02/otask-cli-for-omnifocus/
hide preview

What's next? verify your email address for reply notifications!

Jordan Patterson 13y, 78d ago

Brett I am admit idly fairly new to unix but I really want to use this CLI with a hazel rule to auto add tasks based on a given criteria.

I have installed xcode via the mac app store; installed the gems ‘rb-appscript’, ‘chronic’, and ‘amatch’ based on your install instructions; and dragged the otask executable into my use/bin folder.

I am getting the following error when trying to invoke the CLI, any ideas?

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- rdoc (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /usr/bin/otask:33

remark link
hide preview

What's next? verify your email address for reply notifications!

Brendan Tobolaski 12y, 274d ago

In case you haven't figured it out yet, its complaining because you don't have the gem rdoc installed. Just run sudo gem install rdoc

hide preview

What's next? verify your email address for reply notifications!

emory 13y, 247d ago

Do you have any plans to add query/searching to OTask?

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 246d ago

Not at the current time, but I'd be happy to accept pull requests on GitHub from anyone who fleshes something like that out.

hide preview

What's next? verify your email address for reply notifications!

Phill 13y, 252d ago

This is a great little utility. I am trying to use it from Alfred though and do not know how to either adjust the LaunchBar applescript script to make it work or how else Alfred could use it. One of the problems I have is that because OTask is seen as a Unix Executable by the OS Alfred cannot be made to 'see' it except from a 'find' command.

If anyone can help me I would be grateful.

hide preview

What's next? verify your email address for reply notifications!

Lri 13y, 262d ago

Quoting Brett Terpstra a few months ago:


I’ve been flirting with a plain-text to-do system again. The biggest problem for me is that a plain text system opens up so many possibilities for fiddling and scripting. I always end up fiddling more than working when I try it.


I don't really see how this is more convenient than using the quick entry dialog. But this has to be one of the most impressive uses of rb-appscript so far.

remark link
hide preview

What's next? verify your email address for reply notifications!

Doug 13y, 262d ago

This is more convenient as you never have to view OmniFocus or the quick entry dialog. Works great using Alfred as well. This is fantastic Brett. Thanks!

hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 262d ago

It's a long story, but as I mentioned in the post this is a short adaptation of a larger project that I abandoned. I'd agree with your convenience assessment, but it does open up good integration with LaunchBar, Quicksilver, Alfred and the like. And I'm honored to be quoted, even if it's to contradict myself :).

hide preview

What's next? verify your email address for reply notifications!

Patrick 13y, 262d ago

That's the good stuff. I appreciate it that you took your time and also came up with another quality blog post. The script definitely deserves one and that way I don't feel so guilty for stealing your time. ^__^

hide preview

What's next? verify your email address for reply notifications!