Google Apps Script is very useful in conjunction with Google's online apps and their rich libraries. JavaScript makes for a good customization language.
One non-obvious irritation, however, is that scripts cannot be shared. So, for example, one has to duplicate code between multiple spreadsheets rather than being able to import it as one would expect. There's an issue open, but even with a high priority, it's two years old:
http://code.google.com/p/google-apps-script-issues/issues/de...