Skip to Content

The ever-extensible Evernote

Evernote, a versatile (and oft-mentioned) note-taking application for Mac and iPhone (as well as Windows and other mobile platforms), has recently opened up a Service API. This comes as an intriguing extension to the basic AppleScript support found in the 1.1.5 release, and opens up the possibility of creating homegrown interfaces ranging from simple calendar/todo managers to "thick" clients which can manipulate the entire collection of Evernote data.

The AppleScript library itself is quite useful, albeit slightly limiting. You can retrieve lists of notes based on searches, create new notebooks and notes from a variety of sources, and obtain properties for the various elements of Evernote. The most interesting feature of the AppleScript library is the import/export automation capability. You can export (in well-formed XML) entire notebooks, or notes from a list (such as one generated by a search). These can be transported automatically by whatever means work best for your purposes, and then imported on the other end. This, to me, is primarily interesting because it allows for "local" synchronization of large libraries without using up online quotas. It's also ideal for automatic backup of your notes, among other potential applications: a recent MacOSXHints tip shows a means of adding notes to Evernote via Quicksilver, complete with notebook, title and tagging syntax. Open the Evernote dictionary in Script Editor for the full set of definitions.

The AppleScript library lacks the ability to add tags to existing notes, move notes or delete notes and notebooks. These functions can, however, be found in the Service API. I'm waiting on an API key today, but I'm looking forward to exploring the possibilities for both desktop and web applications. Libraries for the API are available in Java, Perl, PHP, Python and Ruby -- along with sample code and documentation -- at the API overview page.

The last thing I'll mention is the query syntax, which can be of as much use in the Evernote search bar as it is in an AppleScript or API call. I hadn't fully realized the extent of the search grammar until I read the API documentation. For Evernote users who haven't explored this, it's a very effective way to build searches quickly without a lot of token-clicking. You can start with the basic tag syntax: tag:"tuaw", which will find every note tagged with "tuaw." Prefix it with a minus sign (-tag:"tuaw") to ignore any result with the "tuaw" tag. Combine multiple search parameters for boolean searches; the default search is "all", requiring the results to match every parameter in the string (AND), but you can prefix the query with any: to make it an OR search. Other possible parameters include created: and updated: (which respond to some natural language dates as well as a compact profile of ISO 8601), intitle: (search only in the titles of notes), as well as terms for narrowing to a specific notebook or querying just about any attribute of a note (latitude, longitude, altitude, author, source, etc.). See section C of the API docs for a full description of the search grammar.

It's great to see such a useful application continuing to expand itself and allow for third-party interaction. If you're interested in developing around Evernote, or just playing with the possibilities, stop by the developer page and take a look around.



Categories

Software Developer

Evernote, a versatile (and oft-mentioned) note-taking application for Mac and iPhone (as well as Windows and other mobile platforms), has...
 

Add a Comment

*0 / 3000 Character Maximum

11 Comments

Filter by:
Justin

Brett,

I thought that you might be interested in two new Applescripts that I wrote to move NetNewsWire feed items into Evernote. Both scripts allow you to tag your items on the way into Evernote and also to decide which notebook to file the feeds in:

* NetNewsWire to Evernote: Single Headline or Tab
(For the quickest way to get an item into Evernote)
http://veritrope.com/tips/netnewswire-to-evernote-single-headline-or-tab-export-applescript


* NetNewsWire to Evernote: Batch Sending
(For when you need to do some heavier lifting — slower, but brings over multiple items)
http://veritrope.com/tips/netnewswire-to-evernote-batch-send-applescript

In addition, I have created a page to track the release of other Evernote-related scripts:
http://veritrope.com/tips/evernote-applescript-resources

Your thoughts, comments, and suggestions for improvement would be greatly appreciated!

Kind Regards,
Justin

October 21 2008 at 1:46 PM Report abuse rate up rate down Reply
wayne

I just talked to the Evernote CEO Phil, last week on how evernote works and the future of the application. It's on a podcast here: http://talksocialnews.com/2008/10/20/evernote-mophie-britney/

October 20 2008 at 3:52 PM Report abuse rate up rate down Reply
Phil Libin

Brett,

Thanks for telling people about the search syntax! It reminds me that we haven't really tried to publicize it ourselves but will now do so. One neat trick: make an elaborate query using the expanded syntax and then save it as a "saved search". Saved Searches are automatically synchronized, so you can execute that query with one click from any device.

People asking for local notes on the iPhone client: it's coming soon.


October 20 2008 at 2:58 PM Report abuse rate up rate down Reply
bc

I've been using Evernote for a while now, but no offline viewing on the iPhone is the biggest problem for me, too.

a lot of the things I want to save include things I want to refer to when traveling - therefore often when I need to access my info the the most I have no internet access available (e.g. on a plane, or when avoiding Extortionary data roaming fees while out of the country)

I think a good new feature would be for Evernote to allow the user to TAG certain items that would be synced and stored locally on the iPhone.

the flexibility and all these features on the desktop side are great, but without the simple ability to have at least some of your data available when not connected to the internet, the value of Evernote on the iPhone is limited IMO.

October 20 2008 at 1:31 PM Report abuse rate up rate down Reply
Dan Fever

....You can on the Compu, but who cares. We want it on the iPhone. I don't get it. Why can't they just add that feature it seems simple enough, other apps have it. '

October 20 2008 at 12:56 PM Report abuse rate up rate down Reply
Dan Fever

that's the MAIN huge problemo with evernote. No offline viewing. I'm actually considering canceling my account because i Need To View Offline. Great Stuff besides though. Offline viewing in a must.

October 20 2008 at 11:47 AM Report abuse rate up rate down Reply
1 reply to Dan Fever's comment
Mike

I believe you can view notes offline on OS X, just not on the iphone (yet).

October 20 2008 at 12:09 PM Report abuse rate up rate down Reply
chris

I've been tempted to use Evernote a few times over the past year. Now that they've added this last round of updates (import/export, scripting and the API), it's hard to see how people will stick with other alternatives (Yojimbo, Journlar etc).

Add the ubiquity and this has the potential to be a real game-changer [insert cheese here]!

October 20 2008 at 11:47 AM Report abuse rate up rate down Reply
Chris W.

I wish the iPhone app would save the notes on the iphone instead of downloading from the server.

October 20 2008 at 11:34 AM Report abuse rate up rate down Reply
LD

No matter how hard or how many times I've tried I just can't find Evernote very useful.

October 20 2008 at 11:25 AM Report abuse rate up rate down Reply
1 reply to LD's comment
w00master

Well, everyone has their own way of organizing their life. So, to each their own.

Personally, I find Evernote extremely useful. It's replaced Delicious and Google notebook entirely for me.

October 20 2008 at 11:37 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.