Replacing AppleScript with Ruby
Thursday, May 29th, 2008I had a brief run-in with AppleScript trying to overcome an OS X terminal bug. and its not something I enjoyed. I would much rather be able to do scripts like this in a language I’m more comfortable in like ruby. I’ve known for a while that one of the enhancements in OS X Leopard is that it has native support for scripting the UI from within other scripting languages like python and ruby, however, I didn’t realize that I could drop those scripts in the user scripts folder (~/Library/Scripts) and have them available from the scripts toolbar icon. (more…)