EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Specifikace Strana 181

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 304
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 180
CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 181
BridgeTalk class functions
The BridgeTalk class provides these static methods, which are available in the global namespace:
bringToFront()
BridgeTalk.bringToFront (app)
app
A specifier for the target application; see Application specifiers” on page 191.
Brings all windows of the specified application to the front of the screen.
In Mac OS, an application can be running but have no windows open. In this case, calling this
function might or might not open a new window, depending on the application. For Adobe Bridge,
it opens a new browser window.
getAppPath()
BridgeTalk.getAppPath (app)
app
A specifier for the target application; see Application specifiers” on page 191.
Retrieves the full path of the executable file for a specified application.
Returns a string.
getDisplayName()
BridgeTalk.getSpecifier (app)
app
A specifier for the target application; see Application specifiers” on page 191.
Returns a localized display name for an application, or
NULL if the application is not installed. For
example:
BridgeTalk.getDisplayName("photoshop-10.0");
=> Adobe Photoshop CS4
Zobrazit stránku 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 303 304

Komentáře k této Příručce

Žádné komentáře