// Export from Yojimbo to Evernote with AppleScript

NewYojimbo

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).
    Main Archive Window
  • 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!).
    Tag Window
    multiple tags
  • 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.
    URI
  • 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.
    Growl CollectionGrowl total

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:”
disable windows
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!

14 Responses to “Export from Yojimbo to Evernote with AppleScript”

  1. Bill Morgan says:

    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!

    • Justin says:

      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?

  2. 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

  3. speedmccoy says:

    This worked with Yojimbo 1.5 running on Leopard 10.5.x. Thank you for the script. – Tom

  4. Twitter Comment


    Evernoteハンドブック読んでたら、Yojimboになんでもかんでも取り込んでたのと同じ感覚でやればいいのか?との考えに至り、とりあえずYojimboからEvernoteへエクスポート [link to post]

    Posted using Chat Catcher

  5. Tim says:

    beware that if you have titles of your Yojimbo notes that are longer than 255 characters Evernote will take them, but then you will get “Multiple Validation Errors” and you will not be able to save them nor sync. This script was fantastic, but I had to adjust it to truncate the longer titles on my notes before I could load them.

    • Justin says:

      Hi Tim,

      You are absolutely right! That’s something I discovered on one of my other Evernote scripts…. And forgot to add back into this one! :(

      Thanks for the reminder — and I’m glad that you’re enjoying it!

  6. Andy says:

    I keep getting this error: Import Failure: Failed to export item due to the following error: -1728 )Yojimbo got an error: Can’t get every class YImg of library). Any clue?

  7. Andy says:

    nevermind. I just downloaded the yojimbo 2 demo and after doing that, the export worked. I was at 1.4.2 before. Thanks!

  8. Does this work on password protected items as well?
    Thanks
    S

    • Justin says:

      Hi Sena,

      I am currently “on the road”, so I am going to have to try to answer your question from memory (always a dangerous proposition! ;) )

      There is a bit of code in there to deal with password protected items, but my recollection is that there was some issue with it and that I commented it out until I could properly debug it.

      Of course, I might be remembering things incorrectly — so feel free to give it a shot and to let me know what happens! And if you’re handy with AppleScript, feel free to roll up your sleeves and share some code here in the comments to get the ball rolling!

      Best,
      Justin

      • Hi Justin,

        Thanks for the reply. I gave it a go and it worked for most but not all of my protected items though some of the problems could have been with a timeout.

        In the end I decrypted everything in Yojimbo before doing the import. I’ll now selectively encrypt some notes and passwords.

        Cheers for getting me this far
        S

  9. Channing says:

    Is there a way to add the exporting of the comment field in the Password and Serial notes? As it stands those fields are forgotten – thus losing in my case a lot of valuable info.

rss Subscribe to Comments RSS Feed

Tweetbacks

  1. Twitter Comment


    Check it: [link to post]

    Posted using Chat Catcher

  2. 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

  3. 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

  1. Export from Evernote to Yojimbo with AppleScript | Veritrope
  2. Links to Evernote Applescripts and Accessories-- Updated Regularly! | Veritrope
  3. Export from Evernote to Yojimbo | Veritrope

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>