16
Oct
Export from Yojimbo to Evernote with AppleScript
Tags: Apple, Applescript, Evernote, tutorial, Yojimbo

Want to quickly export your Yojimbo entries into Evernote? Read on!
After releasing the Evernote to Yojimbo AppleScript earlier this month, some readers asked if there was a script to do the reverse — Yojimbo to Evernote exporting.
Brett Kelly had already written a great script that would do a complete transfer of all of your Yojimbo items into Evernote. I asked him if he would mind if I used it as a launching pad for a fuller script — and he graciously told me to go for it!
Features
- This AppleScript exports a copy of all the selected entries in your Yojimbo database (except those in the Trash) and then imports them into an Evernote notebook.
- When the script needs to export a file first, it places it into a temporary folder on your Desktop and then deletes it when completed.
- In addition to facilitating a full export of all your items into Evernote, this script also gives you the option to export items by Collection (i.e., Images, Bookmarks, PDFs).

- Any tags inside Yojimbo will be added to your imported notes in Evernote. You’ll also have a chance to add additional tags to the note on the way in, and you can now select which notebook will receive the import (or create a new one!).

- When the “Source URL” slot wasn’t already being used for a web link, I added clickable URI links that open up your original Yojimbo note.

- Automatic Growl detection has also been enabled which will save you a trip to the Script Editor to enable/disable it. As the export completes its transfer of a Collection, Growl users will see a notification window with that collection’s icon and the number of items that were transferred. If you’re transferring everything all at once, you’ll get notifications for each collection so you can track the progress of your export. When the script is complete, it’ll give you the final tally via Growl as well.


Current Limitations and Open Issues
(Otherwise known as “Places Where You Could Help Out!”)
- Errors that will undoubtedly arise when you do something that I didn’t think of or test for!
How to Install and Use
Just run the script and follow the menus to select the notes to send to Yojimbo!
If you’re importing a lot of items, I’d recommend that you change a few settings inside Evernote before beginning the import. In the “Clipping” tab of the Preferences menu, uncheck the boxes in the section called “After a clip:”

If the boxes are checked while importing a large number of items, Evernote will fill your screen with open windows and sound like it is repeatedly shooting you with a laser from a 70’s Sci-Fi movie. Trust me — uncheck the boxes first and you’ll be much happier!
Source Code and Download Link on the next page!
Export from Yojimbo to Evernote with AppleScriptPages: 1 2


5 Responses to “Export from Yojimbo to Evernote with AppleScript”
Does this script require Yojimbo 2, or will it work with 1.5? I’ve been looking for a way to pry my data out of Yojimbo for many months now. Thanks!
That’s actually a question I don’t have an answer for! (When I developed the script, I used Yojimbo 2)
Anyone successfully using this with version 1.5?
Twitter Comment
Ohhh, so happy for the Yojimbo to @Evernote export script. [link to post] The Mac community is as great as Apple Script is.
– Posted using Chat Catcher
This worked with Yojimbo 1.5 running on Leopard 10.5.x. Thank you for the script. – Tom
Thanks for the report, Tom — hope you enjoy the script!
Tweetbacks
Twitter Comment
Check it: [link to post]
– Posted using Chat Catcher
Twitter Comment
1013 Yojimbo items successfully exported to @evernote. Huge thanks for @Veritrope for his fantastic export AppleScript [link to post]
– Posted using Chat Catcher
Twitter Comment
Since I like having my data in 3 places and live inside of Yojimbo — a script for getting yojimbo data into Evernote [link to post]
– Posted using Chat Catcher
Trackbacks/Pingbacks