User Guide
Path functions 333
Returns
Nothing.
Path functions
Path functions get and manipulate the paths to various files and folders on a user’s hard disk.
These functions determine the path to the root of the site in which the current document
resides, convert relative paths to absolute URLs, and more.
dreamweaver.getConfigurationPath()
Availability
Dreamweaver 2.
Description
Gets the path to the Dreamweaver Configuration folder, which is expressed as a file:// URL.
For information on how Dreamweaver accesses Configuration folders on a multiuser
platform, see “C-Level Extensibility” in Extending Dreamweaver Help.
Arguments
None.
Returns
The path to the application configurations.
Example
The following function is useful when referencing other extension files, which are stored in
the Configuration folder in the Dreamweaver application folder:
var sortCmd = dreamweaver.getConfigurationPath() + ¬
"/Commands/Sort Table.htm"
var sortDOM = dreamweaver.getDocumentDOM(sortCmd);
000_DW_API_Print.book Page 333 Wednesday, July 20, 2005 11:58 AM