Adobe 27510753 Scripting Guide - Page 51
Using ExtendScript Tools and Features
UPC - 718659445294
View all Adobe 27510753 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 51 highlights
Adobe InDesign CS2 Scripting Guide Using ExtendScript Tools and Features 43 4 Using ExtendScript Tools and Features ExtendScript is Adobe's extended implementation of JavaScript, and is used by all Adobe Creative Suite 2 applications that provide a scripting interface. In addition to implementing the JavaScript language according to the W3C specification, ExtendScript provides certain additional features and utilities. l For help in developing, debugging, and testing scripts, ExtendScript provides: l The ExtendScript Toolkit , an interactive development and testing environment for ExtendScript. l A global debugging object, the Dollar ($) Object. l A reporting utility for ExtendScript elements, the ExtendScript Reflection Interface. l In addition, ExtendScript provides these tools and features: l A localization utility for providing user-interface string values in different languages. See the "Localiz- ing ExtendScript Strings" section. l Global functions for displaying short messages in dialog boxes; see the "User Notification Helper Func- tions" section. l An object type for specifying measurement values together with their units. See the "Specifying Mea- surement Values" section. l Tools for combining scripts, such as a #include directive, and import and export statements. See the "Modular Programming Support" section. l Support for extending or overriding math and logical operator behavior on a class-by-class basis. See the "Operator Overloading" section. l ExtendScript provides a common scripting environment for all Adobe Creative Suite 2 applications, and allows interapplication communication through scripts. l To identify specific Adobe Creative Suite 2 applications, scripts must use application and namespace specifiers as described in the "Application and namespace specifiers " section. l Applications can run scripts automatically on startup. See the "Script Locations and Checking Application Installation" section. l For details about interapplication communication, see the Bridge JavaScript Reference, available with Adobe Creative Suite 2.