Specifications
Chapter 24290
MMNotes.getSiteRootForFile()
Description
Determines the site root for the specified Design Notes file.
Arguments
fileURL
The argument is the path to a local file, which is expressed as a file:// URL.
Returns
A string that contains the path of the Local Root folder for the site, which is expressed as a file://
URL, or an empty string if Dreamweaver is not installed or the Design Notes file is outside any
site that is defined with Dreamweaver. This function searches for all the sites that are defined in
Dreamweaver versions 3, 4, and MX as well as UltraDev versions 1 and 4.
MMNotes.getVersionName()
Description
Gets the version name of the MMNotes shared library, which indicates the application that
implemented it.
Arguments
None.
Returns
A string that contains the name of the application that implemented the MMNotes shared
library.
Example
Calling MMNotes.getVersionName() from a Dreamweaver command, object, behavior, Property
inspector, floating panel, or data translator returns
"Dreamweaver". Calling
MMNotes.getVersionName() from Fireworks also returns "Dreamweaver" because Fireworks
uses the same version of the library, which was created by the Dreamweaver engineering team.
MMNotes.getVersionNum()
Description
Gets the version number of the MMNotes shared library.
Arguments
None.
Returns
A string that contains the version number.
MMNotes.localURLToFilePath()
Description
Converts the specified file:// URL to a local drive path.
Arguments
fileURL