Skip to content

Instantly share code, notes, and snippets.

@jriverac
Last active January 18, 2019 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jriverac/ecbf97526c1421d5f128f8ca56de56f2 to your computer and use it in GitHub Desktop.
Save jriverac/ecbf97526c1421d5f128f8ca56de56f2 to your computer and use it in GitHub Desktop.
[Add HTML to Evernote] #AppleScript
tell application "Evernote"
set notebook1 to notebook "Jokes"
set mynotes to (get every note in notebook1 whose title is "Test")
if (count of mynotes) is equal to 1 then
set note1 to item 1 of mynotes
tell note1 to append html "<br>"
tell note1 to append html "<a href=\"https://google.com\">link text</a>"
end if
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment