InDesign Scripting Tidbits

This is a collection of quick reality checks for some ideas that crossed my way.

ECMAScript language features

ECMAScript is the standard defining most language features of ExtendScript. Basically this is everything it has in common with JavaScript as known from web browsers.

  • The prototype feature.
  • eval() used as cheap interpreter.
  • Memory leaks

    This section describes some memory leaks, as of InDesign CS4 version 6.0. Avoid these problem patterns if you want to run your program in permanent sessions.

  • The function property circular link.