I already do a lot with shell scripts on the Mac, but I loathe AppleScript, and I would love to be able to access Mac apps’ APIs in some other way. Does anyone know any other way to get the power of AppleScript without the pain of its horrible syntax and meager documentation (and its slowness, if possible)?
Share
appscript is probably your best bet – there are variants for Python or Ruby which should fit well into shell scripts.
There’ll still be some trial and error in dealing with individual applications’ vocabularies, which you can’t really do much about, but at least you’ll have a far more capable language (or two) to wrap around it.