Creating a daily log in Evernote from Quicksilver

Recently I started using Evernote, and I am loving it so far.
If you are looking for a way to organize the “stuff” on your computer, check it out.

One of the things I am trying to use it for is to keep a daily log of things I do, so that, at the end of the day or the week, I can check how productive (or not) I have been.

Taking inspiration from this story on Mac OS X Hints ;), and with some help from the kind folks at Evernote developer forum, I put together this simple script to create a note in my daily diary from Quicksilver –


property nb : "Daily Diary"

using terms from application "Quicksilver"
 on process text qtxt
 my CreateDailyEvernote(qtxt)
 end process text
end using terms from

on CreateDailyEvernote(txt)
 set t to do shell script "date +'%Y/%m/%d'"
 tell application "Evernote"
 set foundNotes to find notes "notebook:"" & nb & """ & " intitle:"" & t & """
 set found to ((length of foundNotes) is not 0)
 if not found then
 create note with text txt title t notebook nb
 end if
 activate
 end tell
end CreateDailyEvernote

This will create a note with title as current date in the format yyyy/mm/dd in “Daily Diary” notebook.
At the moment, Evernote Mac scripting API does not allow appending text to an existing note.
Once that is added (a very helpful Andrew McGeachie at the Evernote developer forum has already created a feature request for that), this would be a perfect way for me to keep a log of everything I do during the day.

9 comments

  1. I like this. I was thinking of the same thing. Or at least something similar. Quick question. What plugin are you using to put code in your post. Thanks

  2. Ahh.. wordpress changed my & to & on posting. Fixed now.
    If you click on the ‘view plain’ link, it pops up a window from which it is easier to copy.
    Cheers.

  3. Not that I know of.
    I will check with Evernote devs, if it is possible to append text to a note now, I will add that bit in, and post it somewhere appropriate.

Leave a Reply

Your email address will not be published. Required fields are marked *


7 − = five

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>