MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificaciones Pagina 291

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 692
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 290
The Design Notes API 291
The argument is the path to a local file, which is expressed as a file:// URL.
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
Opens the Design Notes file that is associated with the specified file or creates one if none exists.
Arguments
filePath, {bForceCreate}
The first argument is the path to the main file with which the Design Notes file is associated,
which is expressed as a file:// URL.
The second argument is a Boolean value that indicates whether to create the Note even if
Design Notes is turned off for the site or if
filePath is not associated with any site.
Returns
The file handle for the Design Notes file or zero if the file was not opened or created.
Example
See MMNotes.set() on page 292.
MMNotes.remove()
Description
Removes the specified key (and its value) from the specified Design Notes file.
Arguments
fileHandle, keyName
The first argument is the file handle that MMNotes.open() returns.
The second argument is a string that contains the name of the key to be removed.
Returns
A Boolean value that indicates whether the operation is successful.
Vista de pagina 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 691 692

Comentarios a estos manuales

Sin comentarios