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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 181
CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 182
getSpecifier()
BridgeTalk.getSpecifier (appName,[version],[locale])
appName
The base name of the application to search for.
version
Optional. The specific version number to search for. If 0 or not supplied, returns the
most recent version. If negative, returns the highest version up to and including the
absolute value.
If a major version is specified, returns the highest minor-version variation. For
example, if Photoshop CS versions 9, 9.1, and 10 are installed:
BridgeTalk.Specifier( "photoshop", "9" )
=> ["photoshop-9.1"]
locale
Optional. The specific locale to search for.
If not supplied and multiple language versions are installed, prefers the version for
the current locale.
Retrieves a complete application specifier.
Returns a complete specifier (see
Application specifiers” on page 191) for a messaging-enabled
application version installed on this computer, or
null if the requested version of the application is
not installed.
For example, assuming installed applications include Photoshop CS4 11.0
en_us, Photoshop CS2
8.5
de_de, Photoshop CS2 9.0 de_de, and Photoshop CS2 9.5 de_de, and that the current locale is
en_US:
BridgeTalk.getSpecifier ("photoshop");
=> ["photoshop-11.0-en_us"]
BridgeTalk.getSpecifier ("photoshop", 0, "en_us");
=> ["photoshop-11.0-en_us"]
BridgeTalk.getSpecifier ("photoshop", 0, "de_de");
=> ["photoshop-9.5-de_de"]
BridgeTalk.getSpecifier ("photoshop", -9.2, "de_de");
=> ["photoshop-9.0-de_de"]
BridgeTalk.getSpecifier ("photoshop", 8);
=> ["photoshop-8.5-de_de"]
Vista de página 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 303 304

Comentários a estes Manuais

Sem comentários