Thinking in AppleScript

October 7, 2009

tell application "Ken"
   set new_applescript_ideas to every idea that hits me while I use my Mac
   try
       create_applescript(new_applescript_ideas)
   on error
      display dialog "Back to the drawing board..."
   end try
end tell

If you are still reading after that geek-fest above, I have to say I am pretty impressed!   That pseudo-script however really expresses the shift that is going on inside my brain right now.  Learning AppleScript has become a recent hobby of mine, and while I can’t give it eight hours a day, I am trying to get a couple hours here and there each week in order to improve my scripting chops.

What I’ve recognized is that sometime after the intial dozen or so hours of trying to figure out why this language is fairly easy to read but harder to write, you hit a breakthrough and start getting it. Then, after you knock off a simple script or two that actually does what you want, you get your second wind.

For me that second wind got me starting to “think in AppleScript”.  I look at what I’m doing on my Mac now with a much different perspective.  I question pretty much anything that I do that seems remotely time intensive or rote and ask myself, “can you script that?”   I am adding scripts to my “ideas list” faster than I’m able to write them at the moment.

Now it’s all about getting that other part of my brain, the one has to execute and write the scripts, to catch up with the part that is coming up with all of these scripting ideas.

It’s too bad that my newly acquired Applescript thinking super power can’t write a script to do that ;)

blog comments powered by Disqus

Previous post:

Next post: