Localizing Extendscript Strings - Adobe 27510753 - InDesign CS2 - PC Manual

Scripting guide
Hide thumbs Also See for 27510753 - InDesign CS2 - PC:
Table of Contents

Advertisement

60
Using ExtendScript Tools and Features
dataType
defaultValue
description
help
isCollection
max
min
name
type

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.
String
The data type of the reflected element. One of:
boolean
l
number
l
string
l
Classname
l
Note:
Class names start with a capital letter. Thus, the value string
stands for a JavaScript string, while String is a JavaScript
String
: Any type. This is the default.
*
l
null
l
undefined
l
value.
unknown
l
any
The default value for a reflected property or method argument, or un-
defined
the element is a method.
String
Short text describing the reflected object, or undefined if no descrip-
tion is available.
String
Longer text describing the reflected object more completely, or unde-
fined
Boolean
When true , the reflected property or method returns a collection;
otherwise, false .
Number
The maximum numeric value for the reflected element, or undefined
if there is no maximum or if the element is a method.
Number
The minimum numeric value for the reflected element, or undefined if
there is no minimum or if the element is a method.
String
The name of the reflected element. A string, or a number for an array
Number
index.
String
The type of the reflected element. One of:
readonly
l
readwrite
l
createonly
l
object.
method
l
: The class name of an object.
wrapper object.
: Return data type for a function that does not return any
if there is no default value, if the property is undefined, or if
if no description is available.
: A read-only property.
: A read-write property.
: A property that is valid only during creation of an
: A method.
Adobe InDesign CS2 Scripting Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Indesign cs2

Table of Contents