aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-24 03:20:47 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-24 03:20:47 +0000
commitf24f2d15275961f1c0144e68fde75a60aeaaa165 (patch)
tree38be1626f3ade436fbd17eadb2753fa2f0effb37 /content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown
parentbf04383b34c4a4fdfe239de2805a30a051921002 (diff)
downloadcapotej.com-f24f2d15275961f1c0144e68fde75a60aeaaa165.tar.gz
move to bear theme
Diffstat (limited to 'content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown')
-rw-r--r--content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown25
1 files changed, 25 insertions, 0 deletions
diff --git a/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown b/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown
new file mode 100644
index 0000000..e9af9b3
--- /dev/null
+++ b/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown
@@ -0,0 +1,25 @@
+---
+title: "Alfred Extension for creating Wunderlist tasks"
+date: 2012-01-09T23:36:00Z
+comments: false
+url: /alfred-extension-for-creating-wunderlist-task
+tags:
+---
+
+
+
+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)