MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 44

Dreamweaver api reference
Table of Contents

Advertisement

Returns
A string that contains the local drive path for the specified file.
Example
A call to
MMNotes.localURLToFilePath('file:///MacintoshHD/images/moon.gif')
returns
"MacintoshHD:images:moon.gif"
MMNotes.open()
Description
This function opens the Design Notes file that is associated with the specified file or creates
one if none exists.
Arguments
filePath, {bForceCreate}
The
argument, which is expressed as a file:// URL, is the path to the main file
filePath
with which the Design Notes file is associated.
The
bForceCreate
even if Design Notes is turned off for the site or if the
associated with any site.
Returns
The file handle for the Design Notes file or 0 if the file was not opened or created.
Example
See
"MMNotes.set()" on page
MMNotes.remove()
Description
The function removes the specified key (and its value) from the specified Design Notes file.
Arguments
fileHandle, keyName
The
fileHandle
The
argument is a string that contains the name of the key to remove.
keyName
Returns
A Boolean value:
true
44
The Design Notes API
argument is a Boolean value that indicates whether to create the note
45.
argument is the file handle that the
indicates the operation is successful;
.
filePath
MMNotes.open()
false
argument is not
function returns.
otherwise.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents