User Guide

152 Application
Returns
A string that contains the path on the users computer to the secondary browser, which is
expressed as a file:// URL. If no secondary browser is defined, it returns nothing.
dreamweaver.openHelpURL()
Availability
Dreamweaver MX.
Description
Opens the specified Help file in the operating system Help viewer.
Dreamweaver displays help content in the standard operating system help viewer instead of a
browser. Help content is in HTML, but it is packaged for Windows HTML Help or Help
Viewer for Mac OS X.
The following four types of files comprise the full help content. For more information on
Help files, see your operating system documentation.
Help book
A Help book consists of the HTML Help files, images, and indexes. In Windows, the
Help book is a file that has a name with a .chm extension. On the Macintosh, the Help
book is a folder.
The Help book files reside in the Dreamweaver Help folder.
The help.xml file
The help.xml file maps book IDs to help book names. For example, the following XML
code maps the book ID for Dreamweaver Help to the filenames that contains help on
both the Windows and Macintosh operating systems:
<?xml version = "1.0" ?>
<help-books>
<book-id id=
"DW_Using" win-mapping="UsingDreamweaver.chm" mac-
mapping=
"Dreamweaver Help"/>
</help-books>
Each book-id entry has the following attributes:
The id attribute is the book ID that is used in the help.map and HelpDoc.js files.
The win-mapping attribute is the Windows book name, which is
"UsingDreamweaver.chm" in this example.
The mac-mapping attribute is the Macintosh book name, which is "Dreamweaver
Help"
in this example.
000_DW_API_Print.book Page 152 Wednesday, July 20, 2005 11:58 AM