Adobe 27510753 Scripting Guide - Page 68
Localizing ExtendScript Strings
UPC - 718659445294
View all Adobe 27510753 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 68 highlights
60 Using ExtendScript Tools and Features dataType String defaultValue any description String help String isCollection Boolean max Number min Number name type String Number String Adobe InDesign CS2 Scripting Guide The data type of the reflected element. One of: l boolean l number l string l Classname: The class name of an object. Note: Class names start with a capital letter. Thus, the value string stands for a JavaScript string, while String is a JavaScript String wrapper object. l *: Any type. This is the default. l null l undefined: Return data type for a function that does not return any value. l unknown The default value for a reflected property or method argument, or undefined if there is no default value, if the property is undefined, or if the element is a method. Short text describing the reflected object, or undefined if no description is available. Longer text describing the reflected object more completely, or undefined if no description is available. When true, the reflected property or method returns a collection; otherwise, false. The maximum numeric value for the reflected element, or undefined if there is no maximum or if the element is a method. The minimum numeric value for the reflected element, or undefined if there is no minimum or if the element is a method. The name of the reflected element. A string, or a number for an array index. The type of the reflected element. One of: l readonly: A read-only property. l readwrite: A read-write property. l createonly: A property that is valid only during creation of an object. l method: A method. Localizing ExtendScript Strings Localization is the process of translating and otherwise manipulating an interface so that it looks as if it had been originally designed for a particular language. ExtendScript gives you the ability to localize the strings in your script's user interface. The language is chosen by the application at startup, according to the current locale provided by the operating system.