Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 120

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 119
115
DREAMWEAVER API REFERENCE
Application
Last updated 8/27/2013
Example
// Launches the notepad application to edit filefoo.txt file.
dreamweaver.launchApp("file:///c:/windows/system32/notepad.exe", "c:\temp\foo.txt");
// Launches myapp with some command line arguments.
dreamweaver.launchApp("file:///c:/bin/myapp.exe", "-chrome false –print c:\temp\foo.txt");
Global application functions
Global application functions act on the entire application. They handle tasks such as quitting and accessing
Preferences.
dreamweaver.beep()
Availability
Dreamweaver MX.
Description
Creates a system beep.
Arguments
None.
Returns
Nothing.
Example
The following example calls dw.beep() to call the user’s attention to a message that the alert() function displays:
beep(){
if(confirm("Is your order complete?")
{
dreamweaver.beep();
alert("Click OK to submit your order");
}
}
dreamweaver.getShowDialogsOnInsert()
Availability
Dreamweaver 3.
Description
Checks whether the Show Dialog When Inserting Objects option is turned on in the General category of Preferences.
Arguments
None.
Przeglądanie stron 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag