Behind These Paperless Evernote Hazel Eyes

HazelUsing the Kelly Clarkson quote was just way too easy, I know.  This post is not in fact about American Idol winners, but is about Hazel, a Mac-only rules-based file management application.  It does a ton of stuff, but today I am going to talk about how you can use it in a paperless workflow.

To be honest, DocumentSnap readers have been mentioning Hazel to me for quite some time, but for whatever reason I have never gotten around to looking at it until now.  As usual, you guys are way smarter than I am.  Why on earth did I wait?

Basically, you can think of Hazel as something that brings iTunes Smart Playlist-like rules to the files on your Mac.

How can this help in a paperless workflow?  Well, for example, you could have Hazel watch a folder, and then anything that you drop into it could be tagged, Spotlight comments added, OCR’ed, and then sent to a specific folder.

David Sparks from MacSparky has a great runthrough on how he does this.  I definitely recommend checking it out.  He has a bunch of Hazel rules that get triggered when he names a file something, like “gas bill”.  As soon as he names a file “gas bill.pdf”, the Hazel rules kick in and it gets renamed with the appropriate date added, then it gets sent to a nested folder structure based on type and date.  Very cool stuff.

He also describes this workflow in episodes #3 and #25 of the Mac Power Users Podcast.

Hazel And Evernote

As I said, there are a bunch of different ways you can use for Hazel in a paperless workflow.  One that pops to mind is to create a rule that sends something to Evernote.  Lets say we scan or receive PDFs and want to send certain ones to Evernote.

In my example, I’ll create a folder under Documents called “ToEvernote”.

Then I will create a Hazel Rule called “Evernote Import” that watches that folder, and acts on any PDFs that I save there.

First I will create a condition that acts on any files with Extension PDF:

Then I will run an Applescript, so will choose “Run Applescript”.  I will leave as “embedded script” and then hit “Edit Script”

Then I will paste in the following code to that box:

tell application "Evernote"
activate
create note from file theFile
end tell

Then I will hit the Plus sign to add a new action.  Once a file has been added to Evernote, I don’t want to keep it around, so I trash it.  I choose Move File and then select the Trash folder.

Here is what my final rule looks like:

Now, as soon as I drag a PDF into that toEvernote folder, Evernote pops up with the new note and the PDF is trashed. Coolio!

Of course, you can get extremely fancy here, but between this post and David Sparks’, you should be well on your way to paperless fun with Hazel.

I’m rocking the 14 day free trial now, but I think I will be paying the $22 to buy the full version.  Great stuff.

Do you use Hazel? Have any tricks? Leave a note in the comments.

Related posts:

  1. OCR Your ScanSnap PDF Before Sending It To Evernote
  2. How To Encrypt Evernote On Microsoft Windows
  3. How To Export Your Data Out Of Evernote
  4. How To Encrypt Evernote On Mac OSX
  5. How To Encrypt Your Evernote Notes

Tags: , , , ,

9 Responses to “Behind These Paperless Evernote Hazel Eyes”

  1. Norwaycalling March 31, 2011 at 10:16 am #

    Anyone having trouble with this embedded script? Can't seem to get it to work

  2. Martin July 4, 2011 at 6:55 am #

    I have that issue too

    • BrooksD July 4, 2011 at 7:13 am #

      Hi, what is not working about it? Could you post a screenshot or something about what is happening?

  3. Robert May 23, 2012 at 11:50 am #

    Is there any way to tell the apple script which notebook to put it in?

    • BrooksD May 23, 2012 at 11:54 am #

      Great timing. I had actually just made a script that does this a few days ago.

      Replace the "create note" line with this:

      create note from file theFile notebook "Inbox"

      Where Inbox should be, of course, replaced with the exact name of the notebook that you want it to be saved to. Let me know how it goes.

  4. @chumio May 27, 2012 at 3:08 am #

    Hazel works great with evernote but has anyone got hazel to automatically attach evernote "taggs" to OCR'd document??

  5. Property Spain May 2, 2013 at 3:33 pm #

    I have read some good stuff here. Definitely worth bookmarking for revisiting.

    I

    surprise how much effort you put to make such a fantastic

    informative web site.

Trackbacks/Pingbacks

  1. Digitaler Workflow: Hazel Rules! | Philosophus.de - February 3, 2013

    [...] Hazel schickt PDFs an Evernote. (Hier macht der Autor sich die Möglichkeit zunutze, im Rahmen von Hazel Apple Scripts ausführen [...]

Leave a Reply