Fire & Forget Applescript for Safari: Save Web Page to Evernote
Posted by Roman in Apple, Applescript, Fire & Forget Scripts, Mac OS X, Programming, Scripts
There are lots of applescripts for Safari and Evernote and they use most of the same code with perhaps just a little deviation. I have tried a few but they seemed to be just missing a bit here and there to make them more efficient. If you have tried my other scripts you know I am a fan of helper programs (like evernote) activating, doing its thing, and then getting the hell out of the way. I love the “one click/fire & forget” workflow. So with this script, I have implemented a “one click” activation of evernote, quickly moving it to the background while saving the web page thru instapaper’s mobilizer, then killing itself until it is once again needed. If you prefer to keep your evernote running all of the time, this script is not for you.
tell application "Safari" set SafariURL to URL of document 1 tell application "Evernote" create note from url "http://www.instapaper.com/m?u=" & SafariURL synchronize tell application "Safari" activate end tell delay 15 quit end tell end tell








Entries (RSS)