The Unlikely Persistence of AppleScript
Posted December 13th, 2012 @ 09:22pm by Erik J. Barzeski
A great article, and one I'll read again, but let me just say this: thank goodness AppleScript has survived. The number of things for which I rely on AppleScript every day is somewhere between 50 and 1000, and probably between 200 and 500 depending on how you define "things."
Posted 18 Dec 2012 at 8:55am #
Wow. What do you use it for? In my 12 years of being a Mac user, I have found probably only 3-4 uses of it in that time.
Posted 18 Dec 2012 at 9:34am #
I run a lot of things through FastScripts with keyboard shortcuts.
I spent a fair amount of my time on forums, so one of the scripts I use all the time scrapes the page and opens all the "new post" links in tabs. A simple script I've extended to ten or twelve forums.
I have option-# set to trigger scripts in Mail to change the account from which I'm writing an email. Much faster than going into the popup menu.
I have some scripts which re-set my preferred window sizes and locations in several apps.
Safari alone has several scripts which will do things like "Google page URL" - much easier than selecting the page url, hitting copy, hitting cmd-L, and pasting it in (I use this to find duplicate threads on The Sand Trap, most often).
I used to have one for "Tweet" that I still use sometimes because clicking "Twitter" in the "Share" menu is more tedious than a keystroke.
When I'm developing a site I have a keystroke in BBEdit that saves the document, then "opens" it with Transmit (which just uploads it to the site). With the option key held down it'll also reload the front page in Safari after three seconds to display the change. 🙂
Basically, every time I find myself doing something often enough that it's annoying, I try to AppleScript a solution to it, and tie it to a keyboard shortcut when possible.
Posted 18 Dec 2012 at 9:36am #
Wow, that's neat. I had no idea you could do all of that with AppleScript!
Posted 18 Dec 2012 at 9:40am #
IM me if you want and I'll share some examples. I'll write up my post on my forum script now…
Posted 18 Dec 2012 at 10:59am #
[...] mentioned in the comments on this post that I'd write this up, so here goes. What follows is an AppleScript I activate via FastScripts [...]