This AppleScript has been updated and moved into the Veritrope.com Code Library!
Hey, great scripts! The Entourage script is a great idea since it doesn’t support native import. Also, seems to work quite well, however I seem to always get an error at the top of the note:
The messages import fine, I just always get that message, something to do with a semi-colon.
thanks for making these public!
Glad you like them!
I have a guess as to why you’re getting that message based on some things I discovered about Evernote while developing subsequent scripts….
I’ll take some time and play around with a few changes in the code. In the interim, is there anything in the emails that you suspect would be a “common denominator” (especially typographic symbols like colons, commas, semi-colons, etc.)?
Hey not off hand. But the last couple tests I ran were fine, so I’m not sure if it was just a more complicated message or what. I sent some “Plain Text” and some “Rich Text” versions to myself and they imported just fine, so maybe they’re edge cases?
I’ll keep trying and let you know if I find something more consistent.
thank you very much for your script Entourage into Evernote. Really a nice piece of work.
Currently I have the need to clip not only the email body but as well the attachements into Evernote. Browsed the AppleScript library for the Evernote Mac Client, but it seems there is currently no support to generate a note containing (several) attachements plus some text.
So decided to do some workaround and patch your AppleScript. It now creates individual notes one with the email body (just like yours) and one for each attachement in the email. I then combine the notes manually into a single note after inspecting and removing any unwanted attachments (aka logos etc.). Not a single click solution, but works for me quite well.
The script temporarily writes the attachements to your disk. I’ve hardcoded the destination to a folder named tmp inside your user folder. You have to create it before you can use the script (or change the script). The saved attachements in tmp are automatically deleted once they are imported into Evernote.
Feel free to add this to your script repository and make changes.
Here is the source:
By publishing the source code, I had hoped to encourage people to do what you have done — Great Job!
Your fellow users (including me!) can thank you for an additional option to work with our attachments. (I moved your comment here to the script’s page so that Entourage users would be more likely to find it.)
An update on the script itself: I am in the middle of a pretty substantial rewrite of many of these scripts to include, among other things, moving email attachments into Evernote. Anyone interested in testing them should sign up for the email list on Veritrope and I’ll contact you when a “sneak preview build” is ready.
And in the meantime, anyone who wants to make changes or suggestions is welcome to do so here!
My additions are small in compare to your whole script. Nice to hear you are working on a rewrite. I’m interested to hear, how you work around the limitations of the AppleScript implementation in the current Evernote client. So of cause I’ll subscribe to your beta list.
Btw. I’ve ran into the same error message rob cherny mentioned on a few emails.
I’ve tracked it down to:
Tried to find, what combination of slash and greater/lesser triggers the error in Evernote, but didn’t find a logic.
Post as well on Evernote forum, probably some developers have a clue.
Yeah — My guess is that the “text parser” chokes on anything that looks like XML/HTML while creating the note.
However, it works fine if you create the note using HTML. Here is a version of your sample code that does this (modified to be valid HTML):
The note is successfully created with a clickable URL in the body.
I’ve run into this type of problem with the titles of the notes and put in some code that stripped-out some troublesome typography. Clearly though, this isn’t as workable of a solution for the note body — an AppleScript like this shouldn’t modify people’s content, in my opinion.
I have some ideas to work-around but, really, I’d like to get some sense from the Evernote development team if some changes/bug fixes are coming in the near future. Let’s be sure to ask about it in the AppleScript thread there.
it is not ideal to mess with body of a note, but the following modification of your script gets rid of the error message:
At least a workaround until Evernote improves their text parser.
Below the changes incorporated into my initial mods of your script for the lazy people.
Ar more conservative version would be
just stripping the / from the closing /> tag
Upps wrong copy/paste.
To be very clear about what this is for people just joining the thread (and for those new to AppleScript):
Thanks for your hard work and for posting this, Pete!
Hi, I would really love to find a way to export Entrourage – or Outlook for mac “Notes” (not emails or contact or calendar entries – only the “Notes”) into Evernote – does anyone know how this can be done? Thanks, bmar
In case you haven’t already found it, the new Outlook 2011 to Evernote AppleScript works with Notes!
Followed your instructions to the letter but the script does not appear in the Entourage script menu. (Downloaded, moved to Entourage Script Menu Items… and nothing appears)
I presume I don’t need to reboot? I did restart Entourage but it made no difference.
Any ideas would be useful!
Entourage version: 12.2.9 Evernote version 2.1.0
iMac Intel Core 2 Duo 3.06 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 4 GB
Hmmm… that is weird!
If this was happening to me, I think I’d try renaming the script according to these instructions. My hope would be that this would force Entourage to detect it and, at the same time, activating a keyboard shortcut to run the script.
You can use these tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Notify me of followup comments via e-mail
Type your email address below and I'll occasionally send you site updates and sneak peeks about things you're interested in!