
CHAPTER 5: Interapplication Communication with Scripts Application and namespace specifiers 191
Application and namespace specifiers
All forms of interapplication communication use Application specifiers to identify Adobe applications.
X In all ExtendScript scripts, the #target directive can use an specifier to identify the application that
should run that script. See “
Preprocessor directives” on page 233.
X In interapplication messages, the specifier is used as the value of the target property of the message
object, to identify the target application for the message.
X Adobe Bridge (which is integrated with many Adobe applications) uses an application specifier as the
value of the
document.owner property, to identify another application that created or opened an
Adobe Bridge browser window. For details, see the Adobe Bridge JavaScript Reference.
When a script for one application invokes cross-DOM or exported functions, it identifies the exporting
application using Namespace specifiers
.
Application specifiers
Application specifiers are strings that encode the application name, a version number and a language
code. They take the following form:
appname[_instance[[-version[-locale]]]
appname
An Adobe application name. For example, these are the identifying strings for applications
that can use the ExtendScript Toolkit in Creative Suite 4:
aftereffects
bridge
estoolkit
illustrator
incopy
indesign
indesignserver
photoshop
instance
Optional. An additional string appended with an underscore, that distinguishes the
instance for those applications (such as InDesign Server) that support the launching and
running of multiple instances.
For example, for a server launched with SOAP port 12345, the specifier would be
indesignserver_configuration_12345.
Comentarios a estos manuales