User Guide
External application functions 153
■ The help.map file
The help.map file maps a help content ID to a specific help book. Dreamweaver uses the
help.map file to locate specific help content when it calls help internally.
■ The helpDoc.js file
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 uses the helpDoc.js file when it calls help from
JavaScript.
Arguments
bookID
■ The bookID argument, which is required, has the following format:
ID:page
The ID portion is the bookID of the entry in the help.xml file that names the file that
contains the help content to display. The
page portion of the entry identifies the specific
page to display
. The pages are referenced in the help.map file.
Returns
A value of 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
■ The fileURL argument is the path to the file to open, which is expressed as a file:// URL.
■ The appURL argument is the path to the application that is to open the file, which is
expressed as a file:// URL.
000_DW_API_Print.book Page 153 Wednesday, July 20, 2005 11:58 AM