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
No Comments »
Part two of my Fire & Forget series of applescript plug-ins for NewsRack. This script uses Sparrow as the default e-mail application but you can adapt it to whatever you use. As always, this is a “Fire & Forget” script. One click to e-mail article to your preset recipient. No further user interaction is needed. If you find that you e-mail articles to various people, just duplicate and edit the script for each one.
Simple install.
1. Click your share button
2. Click customize
3. Add Applescript
4. Paste the script below
5. Name it “F&Fe-mail” or whatever you like
6. Add optional keyboard shortcut.
tell application "NewsRack"
set article_url to url of selected tab
set article_title to title of selected tab
-- Edit Below
set recipientname to "Whoever"
set article_recipient to "whoever@email.com"
-- Edit Above
set the_message to "Title:" & article_title & " URL:" & article_url
tell application "Sparrow"
set newMessage to make new outgoing message with properties
{subject:article_title, content:article_url}
tell newMessage
make new to recipient with properties
{address:article_recipient, name:recipientname}
end tell
sendmessage newMessage
sendmessage
end tell
activate
end tell
No Comments »

One of the things that makes Newsrack RSS Reader (available in Mac App Store here) so powerful is the ability to build your own custom applescript plug-ins to make it interact with other applications to increase your workflow. This feature is a huge void in other rss readers such as Reeder. I am the technology information hub for my family and friends. I read all of the technology blogs and technology news sources and then feed the information to various recipients. One of my methods of delivery is Twitter. In my quest to limit the number of keystrokes and mouse/trackpad movements in my life I have written this little applescript for Newsrack. It is written for the native Twitter app for Mac OS X. It is a “fire & forget” script (my favorite kind) which means with “one click”, you are done. No need to type or edit anything. As you are reading your articles in Newsrack, you can use this script to Tweet the article with one click and keep on reading. No more user interaction needed (i.e. No need to hit the Send Tweet button).
Simple install.
1. Click your share button
2. Click customize
3. Add Applescript
4. Paste the script below
5. Name it “F&Ftweet” or whatever you like
6. Add optional keyboard shortcut.
tell application "NewsRack"
set article_url to url of selected tab
set article_title to title of selected tab
set feed_name to title of feed of selected article of selected tab
if article_url is "" then
display alert "No article selected." buttons {"OK"}
return
end if
set the_message to article_title & " – "
& article_url & " [via " & feed_name & "]"
perform service "Tweet" with text the_message
delay 2
tell application "System Events" to key code 36 using command down
activate
end tell
No Comments »