Hi guys,
Long time no see. I know there are a couple of people here who are using Adobe ExtendScript to interact with InDesign from within Drupal or the other way around and do web-to-print stuff. If you don't, feel free to ignore this message. If you do, I thought you'd be interested in knowing that I've just released an MIT-licensed open-source framework for ExtendScript.
Includes things like an HTTP library, a UI library and support for unit testing. But most importantly, it adds in a lot of functionality from Javascript 1.6+ and things we've gotten used to in web development, e.g. underscore.js-like methods for functional programming. Makes ExtendScript coding more fun, essentially.
See http://extendables.org and http://extendables.org/docs/ if you're interested or feel free to mail me if you'd like to have a chat. It's always nice to hear from fellow ExtendScripters. Cheers!