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
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...