diff options
author | Julio Capote <jcapote@gmail.com> | 2018-11-06 03:03:41 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2018-11-06 03:03:41 +0000 |
commit | 4b489a049a0063bbb1fd9f0c0f74ce1ee9f87a86 (patch) | |
tree | 98af5707e30150af482e297bed9cd4e9b5477e6a /content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown | |
parent | a62a3e7755579d93ce3a87243dd277575930fffe (diff) | |
download | capotej.com-4b489a049a0063bbb1fd9f0c0f74ce1ee9f87a86.tar.gz |
import old posts
Diffstat (limited to 'content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown')
-rw-r--r-- | content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown b/content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown new file mode 100644 index 0000000..9e17c6a --- /dev/null +++ b/content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown @@ -0,0 +1,26 @@ +--- +layout: post +title: "Alfred Extension for creating Wunderlist tasks" +date: 2012-01-09T23:36:00Z +comments: false +permalink: /alfred-extension-for-creating-wunderlist-task +categories: +--- + + + +While looking for a way to add wunderlist tasks via alfred, I came upon [wunderlist-for-alfred](http://jdfwarrior.tumblr.com/post/13163220116/wunderlist-for-alfred) + +Looked cool, but I wanted to write my own that didn't depend on php. + +I used ```lsof``` to figure out the location of the db, then used ```file``` to see what kind of db it was. Luckily, it was sqlite3, so I was able to poke around and figure out the sql to create a task. + +Here's the alfred extenstion that ties it all together: + +```sh +user=`whoami` +wunderdb="/Users/$user/Library/Wunderlist/wunderlist.db" +sqlite3 $wunderdb "insert into tasks (name, list_id) values ('{query}', 1)" +``` + +Download it [here](http://dl.dropbox.com/u/42561/wunderlist-capotej.alfredextension) |