EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 180

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 179
CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 180
BridgeTalk class properties
The BridgeTalk class provides these static properties, which are available in the global namespace:
appInstance
String The instance identifier of an application launched by the messaging
framework, the
instance portion of an application specifier; see
Application specifiers” on page 191. Read only.
Used only for those applications, such as InDesign, that support launching
and running multiple instances.
appLocale
String The locale of this application, the locale portion of an application
specifier; see
Application specifiers” on page 191. When a message is
sent, this is the locale of the sending application. Read only.
appName
String The name of this application, the appname portion of an application
specifier; see
Application specifiers” on page 191. When a message is
sent, this is the name of the sending application. Read only.
appSpecifier
String A lower-case string containing the complete specifier for this application;
see
Application specifiers” on page 191. Read/write.
appStatus
String The current processing status of this application. Read only. One of:
X busy — The application is currently busy, but not processing
messages. This is the case, for example, when a modal dialog is shown.
X idle — The application is currently idle, but processes messages
regularly.
X not installed — The application is not installed.
appVersion
String The version number of this application, the version portion of an
application specifier; see
Application specifiers” on page 191. When a
message is sent, this is the version of the sending application. Read only.
onReceive
Function A callback function that this application applies to unsolicited incoming
messages. The default function evaluates the body of the received
message and returns the result of evaluation. To change the default
behavior, set this to a function definition in the following form:
BridgeTalk.onReceive = function( bridgeTalkObject ) {
// act on received message
};
The body property of the received message object contains the received
data. The function can return any type. See
Handling unsolicited
messages” on page 172.
N
OTE: This function is not applied to a message that is received in response
to a message sent from this application. Response messages are processed
by the
onResult, onReceived, or onError callbacks associated with the
sent message.
Vista de página 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 303 304

Comentários a estes Manuais

Sem comentários