User Guide
370 Chapter 21: C-Level Extensibility
Arguments
char *fileURL
• The char *fileURL argument is a pointer to a file:// URL string that names the configuration
folder that you want to create.
Returns
A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
Example
char *dwConfig = "file:///c|/
Program Files\Macromedia\Dreamweaver
\Configuration\Extensions.txt";
MM_CreateConfigFolder(dwConfig);
JSBool MM_RemoveConfigFolder()
Availability
Dreamweaver MX.
Description
This function removes the folder and its files and subfolders. If the folder is in the Dreamweaver
Configuration folder, it marks the folder for deletion in the mm_deleted_files.xml file.
Arguments
char *fileURL
• The char *fileURL argument is a pointer to a string that names the folder to remove, which
is provided as a file:// URL.
Returns
A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
Example
char *dwConfig = "file:///c|/
Program Files\Macromedia\Dreamweaver
\Configuration\Objects";
MM_RemoveConfigFolder(dwConfig);
JSBool MM_DeleteConfigFile()
Availability
Dreamweaver MX.
Description
This function deletes the file, if it exists. If the file exists below the Dreamweaver Configuration
folder, the function marks the file for deletion in the mm_deleted_files.xml file.
If the
fileURL argument does not specify a folder in the Dreamweaver Configuration folder, the
function deletes the specified file.