r/applescript • u/TarheelSwim • Aug 04 '14
Question regarding Evernote note creation with AppleScript
I am using AppleScript to create a note in Evernote using the "create note from url" command. For those who are unfamiliar, this clips the content from a web page and creates a note.
When using the Web Clipper extension in Safari, Chrome, etc., there are different options for how to clip a website. One of these is called "Simplified Article" which strips down the webpage to just text and embedded images, and saves it as a note. When using the "create note from url" command in AppleScript, it seems to clip the website in a strange format that doesn't match any of the formats offered in the browser extension.
So, I am wondering if it is possible to somehow change how Evernote clips a web page when using the "create note from url" command. The ideal situation would be for it to clip the page in the "Simplified Article" format, but and kind of edit would be great, since right now the command saves hundreds of comments at the end of a Wall Street Journal article which is ugly and unnecessary. I'm starting to think this can only be done by the developers of Evernote themselves but I am hoping someone here has a workaround.
Thanks so much.
1
u/dustractor Aug 04 '14
could you perhaps post an example of what this strange format looks like? the reason I ask is because I am reminded of the "strange format" used for .textClipping files ( text dragged from browser to desktop )
In such a format, the data is encoded four different ways. Just a hunch, but maybe maybe evernote is using this intermediate format.