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
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...