Specifications
443
Returns
A string that contains the name of the text editor that is suitable for presentation in the UI, not
the full path.
dreamweaver.getFlashPath()
Availability
Dreamweaver MX
Description
Gets the full path to the Flash MX application in the form of a file URL.
Arguments
None.
Returns
An array that contains two elements. Element [0] is a string that contains the name of the
Flash MX editor. Element [1] is a string that contains the path to the Flash application on the
local computer, which is expressed as a file:// URL. If Flash is not installed, it returns nothing.
Example
var myDoc = dreamweaver.getDocumentDOM();
if ( dreamweaver.validateFlash() ) {
var flashArray = dreamweaver.getFlashPath();
dreamweaver.openWithApp( myDoc.myForm.swfFilePath, flashArray[1] );
}
dreamweaver.getPrimaryBrowser()
Availability
Dreamweaver 3
Description
Gets the path to the primary browser.
Arguments
None.
Returns
A string that contains the path on the user’s hard drive to the primary browser, which is expressed
as a file:// URL. If no primary browser is defined, it returns nothing.
dreamweaver.getPrimaryExtensionEditor()
Availability
Dreamweaver 3
Description
Gets the primary editor for the specified file.
Arguments
fileURL