Comment

The Bob Cesca Show: Disruption

70
Charles Johnson11/14/2017 5:15:23 pm PST

My idea of fun: learning Applescript so I could write a BBEdit “attachment script” that runs whenever I save a Javascript file, checks its syntax with Node.js and aborts if there’s an error with a dialog showing the line number with the error, then calls the Google Closure Compiler to minify the Javascript and save it to the final destination. Wheee!

Applescript is a weird language, and the documentation for it is also weird. But the Script Editor makes it pretty easy to test stuff.