Have a Mac and want to export your Evernote items into DEVONthink? Using AppleScript makes it easy!
I’ve designed a script that:
- Utilizes Evernote’s HTML Export to copy the exported HTML file (and its constituent elements) to a temporary folder on your Desktop
- Detects and Imports the Note as a PDF if the source note contained a PDF, or…
- Bundles everything up from other types of notes into a single Web archive file and then imports it into DEVONthink, and
- Throws the temporary files in the trash for you
- The script has been substantially rewritten since the release of Evernote’s native HTML Export function, eliminating the need for a separate webarchiver program and also improving the performance of transferring notes with typographical symbols in their title!
- The revised script also does a better job of importing PDFs
- The script will also retrieve an alphabetized list of your current DEVONthink groups and allow you to select which one to archive your messages into.
- Want to make a new group? No problem — the script now uses DEVON’s own “Group Selector” interface which will let you do that on the fly!
- **UPDATED** The script now brings over more of the data from Evernote — Version 1.3 changes the “Creation” and “Last Modified” dates to match the original item in Evernote. Tag transfer is also now supported — but must be enabled manually (see below).
- Automatic Growl detection has also been enabled which will save you a trip to the Script Editor to enable/disable it.
I have added the ability to transfer tags from your Evernote items into the new DEVONthink items but, for this version at least, YOU HAVE TO ENABLE IT MANUALLY!
The reason I’ve chosen to do it this way is because, simply put, DEVONthink treats tags like they are groups. If you bring over a bunch of notes from Evernote with lots of different tags, your group list is going to be populated with them as well. To me, this is counter-intuitive enough to where I feel the need to leave it “shut off” — but allow you to turn it on if that’s what you prefer. If you do decide to try it, I’d suggest that you start with a few notes and examine the results in DEVONthink to see if you like it.
To enable transfer of tags, you just need open up the script in your favorite editor and change the value of the first property (called transferTags) to “ON”.
- The file names are sometimes altered in the exported version if they include typographical characters that would halt the file creation process;
- Attachments may not save with the new note
- You should always proceed cautiously at first to understand how the script works before moving large amounts of your files around. I use this script myself and feel very comfortable with using it, but I cannot accept any responsibility for any data misadventure you might suffer. Use at your own risk!