Dreamweaver.getprimarybrowser(), Dreamweaver.getprimaryextensioneditor(), Dreamweaver.getsecondarybrowser() – Adobe Dreamweaver API Reference CS5 User Manual
Page 114
109
DREAMWEAVER API REFERENCE
Application
Last updated 8/27/2013
dreamweaver.getPrimaryBrowser()
Availability
Dreamweaver 3.
Description
Gets the path to the primary browser.
Arguments
None.
Returns
A string that contains the path on the computer of the user 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
•
The fileURL argument is the path to the file to open, which is expressed as a file:// URL.
Returns
An array that contains a pair of strings. The first string in the pair is the name of the editor, and the second string is its
location on the computer of the user, which is expressed as a file:// URL. If no primary editor is defined, the function
returns an array that contains one empty string.
dreamweaver.getSecondaryBrowser()
Availability
Dreamweaver 3.
Description
Gets the path to the secondary browser.
Arguments
None.