Specifications

445
help.xml
The help.xml file maps book IDs to Help book names. For example, the following XML code
maps the book ID for Dreamweaver MX Help to the filename that contains that help.
<?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:
id is the book id that is used in the help.map and HelpDoc.js files
win-mapping is the Windows book name, which is "UsingDreamweaver.chm" in this
example.
mac-mapping is the Macintosh book name, which is "Dreamweaver Help" in this example.
help.map
The help.map file maps a Help content ID to a specific help book. Dreamweaver MX uses the
help.map file to locate specific Help content when it calls Help internally.
helpDoc.js
The helpDoc.js file lets you map variable names that you can use in place of the actual book ID
and page string. The helpDoc.js file maps a help content ID
to an HTML page in a specific help
book. Dreamweaver MX uses the helpDoc.js file when it calls help from JavaScript.
Arguments
bookID Required. Specifies the name of the file from which Dreamweaver displays help, which is
expressed as a book ID in the help.xml file, followed by a colon, followed by the page in the book
.
Returns
true if successful; false if Dreamweaver cannot open the specified file in the help viewer.
Example
openHelpURL("DW_Using:index.htm");
dreamweaver.openWithApp()
Availability
Dreamweaver 3
Description
Opens the specified file with the specified application.
Arguments
fileURL, appURL
fileURL is the path to the file to open, which is expressed as a file:// URL.
appURL is the path to the application that is to open the file, which is expressed as a file://
URL.
Returns
Nothing.