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 filePath argument, which is expressed as a file:// URL, is the path to the main file with which the Design Notes file is associated.

  • The bForceCreate argument is a Boolean value that indicates whether to create the note even if Design Notes is turned off for the site or if the filePath argument is not 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().