EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Dokumentacja Strona 181

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 304
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 303 304

Komentarze do niniejszej Instrukcji

Brak uwag