
478 C-Level Extensibility
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.
Arguments
char *fileURL
■ The char *fileURL argument is a pointer to a string that names the configuration folder
to remove, which is provided as a file:// URL.
Kommentare zu diesen Handbüchern