Specifications
480
dreamweaver.getSystemFontList()
Availability
Dreamweaver 4
Description
Returns a list of fonts for the system. This function can get either all fonts or TrueType fonts only.
These fonts are needed for the Flash Text object.
Arguments
fontTypes
fontTypes
is a string that contains either "all" or "TrueType".
Returns
An array of strings that contain all the font names; returns null if no fonts are found.
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
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
preferences.