dom.getOpenPathName()

Availability

Dreamweaver 8.

Description

This function gets the absolute file path of the open document.

Arguments

None.

Returns

A string that is the absolute file path of the open document.

Example

The following example assigns the string that contains the path of the currently open document to the variable fileName:

var fileName = dom.getOpenPathName();

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/12_wo185.htm