beautypg.com

Dreamweaver.openwithapp(), Dreamweaver.openwithbrowsedialog() – Adobe Dreamweaver API Reference CS5 User Manual

Page 116

background image

111

DREAMWEAVER API REFERENCE

Application

Last updated 8/27/2013

Arguments
bookID

The

bookID

argument, which is required, has the 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 Boolean value:

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.

Returns
Nothing.

dreamweaver.openWithBrowseDialog()

Availability
Dreamweaver 3.

Description
Opens the Select External Editor dialog box to let the user select the application with which to open the specified file.

Arguments
fileURL

The fileURL argument is the path to the file to open, which is expressed as a file:// URL.

Returns
Nothing.