User Guide

141
CHAPTER 11
Application
The application functions perform operations related to Macromedia Dreamweaver MX 2004’s
interaction with other applications or Dreamweaver operations independent of individual
documents (setting preferences, exiting Dreamweaver, and other functions).
External application functions
External application functions handle operations that are related to the Macromedia Flash MX
2004 application and to the browsers and external editors that are defined in the Preview in
Browser and External Editors preferences. These functions let you get information about these
external applications and open files with them.
dreamweaver.browseDocument()
Availability
Dreamweaver 2; enhanced in 3 and 4.
Description
Opens the specified URL in the specified browser.
Arguments
fileName
, {browser}
The fileName argument is the name of the file to open, which is expressed as an
absolute URL.
Note: Some browsers cannot locate the file if the URL contains an anchor, such as
"Configuration/ExtensionHelp/browseHelp.htm#helpyou".
The browser argument, which was added in Dreamweaver 3, specifies a browser. This
argument can be the name of a browser, as defined in the Preview in Browser preferences or
either
'primary' or 'secondary'. If the argument is omitted, the URL opens in the user’s
primary browser.
Returns
Nothing.
000_DW_API_Print.book Page 141 Wednesday, August 20, 2003 9:14 AM