User Guide
The Design Notes JavaScript API 43
MMNotes.getVersionName()
Description
This function 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 the MMNotes.getVersionName() function from a Dreamweaver command, object,
behavior, Property inspector, floating panel, or data translator returns
"Dreamweaver".
Calling the
MMNotes.getVersionName() function 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
This function gets the version number of the MMNotes shared library.
Arguments
None.
Returns
A string that contains the version number.
MMNotes.localURLToFilePath()
Description
This function converts the specified file:// URL to a local drive path.
Arguments
fileURL
■ The fileURL argument, which is expressed as a file:// URL, is the path to a local file.
000_DW_API_Print.book Page 43 Wednesday, July 20, 2005 11:58 AM