Adobe 38040334 API Reference - Page 28
The Design Notes JavaScript API, MMNotes.close, MMNotes.filePathToLocalURL
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 28 highlights
DREAMWEAVER CS3 23 API Reference The Design Notes JavaScript API All functions in the Design Notes JavaScript API are methods of the MMNotes object. MMNotes.close() Description This function closes the specified Design Notes file and saves any changes. If all the key/value pairs are removed, Dreamweaver deletes the Design Notes file. If it is the last Design Notes file in the _notes folder, Dreamweaver also deletes the folder. Note: Always call the MMNotes.close() function when you finish with Design Notes so Dreamweaver writes to the file. Arguments fileHandle • The fileHandle argument is the file handle that the MMNotes.open() function returns. Returns Nothing. Example See "MMNotes.set()" on page 27. MMNotes.filePathToLocalURL() Description This function converts the specified local drive path to a file:// URL. Arguments drivePath • The drivePath argument is a string that contains the full drive path. Returns A string that contains the file:// URL for the specified file. Example A call to MMNotes.filePathToLocalURL('C:\sites\webdev\index.htm') returns "file:///c|/sites/webdev/index.htm".
![](/manual_guide/products/adobe-38040334-api-reference-b593776/28.png)