11

To do list from iCal

Posted in Productivity by matt 3650 days ago

This geeklet gets your to do list from iCal and displays it. It requires that you have iCalBuddy installed.

Command:

/usr/local/bin/icalBuddy -nc uncompletedTasks | sed -e "s/*/--/" | sed -e "s/!/!!/" 

Font: Futura
Colour: White
Size: 16

iCalBuddy Installation Instructions:

  1. Download iCalBuddy from http://hasseg.org/icalBuddy/
  2. Double-click the file to unzip it.
  3. Double-click the install.command file.
  4. Enter your administrator password.
  5. Close the window.
  6. Optional: Open a new Terminal window and type "icalBuddy uncompletedTasks" to test it works.

Screenshot

Geeklet files to download

Comments

User Avatar
drevil911 3639 days ago
When I run the command script I get this error. -bash: !/!!/": event not found
User Avatar
maelcum 3638 days ago
you might want to quote the sed-commands. maybe this helps:

/usr/local/bin/icalBuddy -nc uncompletedTasks | sed 's/*/--/g; s/!/!!/g'

But then: * and !! are the priorities and usually in a different color (if your terminal is color enabled). I *like* to see those (otherwise, why would I give them priorities).

In addition, I like the tasks sorted by priority, so an "-std" is added to icalbuddy.

So the final command ready simply:

/usr/local/bin/icalBuddy -nc -std uncompletedTasks

By activation UTF-8 and Colored Output (I am using NerdTool) this looks nicely.
User Avatar
kjtriplett 3637 days ago
How do I get it to not display the task's URL (automatically added if the task is created in mail.app)
User Avatar
kjtriplett 3623 days ago
I figured this out myself. I used the -etp arguments. I also discovered it's not necessary to use sed to change the output. I used the -b and the -ab arguments. So my final command is now:

/usr/local/bin/icalBuddy -b •" " -ab !!" " -nc -etp URL,priority uncompletedTasks

Where •" " is a bullet with a space after and !!" " is exclamations with a space after, and I do not want URL or priority to show.
User Avatar
schoshow 3550 days ago
is there a way to do this without icalbuddy? I have 10.4 and therefore it is not an option. thanks
User Avatar
pinkie_hxc 2991 days ago
I'm on lion, and they've changed from to-do to reminders. can someone help me link this up as i know nothing on coding.

Log in to comment or register here.