Adobe 38040334 - Dreamweaver CS3 User Manual page 366

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Example
char *dwConfig = "file:///c|/Program Files/Adobe/Adobe Dreamweaver CS3/
Configuration/Extensions.txt";
unsigned long attrs;
attrs = (MM_FILEATTR_NORMAL | MM_FILEATTR_RDONLY);
int fileno = 0;
if(MM_SetConfigFileAttrs(dwConfig, attrs))
{
fileno = MM_OpenConfigFile(dwConfig);
}
JSBool MM_CreateConfigFolder()
Availability
Dreamweaver MX.
Description
This function creates a folder in the specified location.
If the
argument specifies a folder within the Dreamweaver Configuration folder, the function creates the
fileURL
folder in the user Configuration folder. If
folder, the function creates the specified folder, including all higher-level folders in the path if they do not already
exist.
Arguments
char *fileURL
• The
argument is a pointer to a file:// URL string that names the configuration folder that you
char *fileURL
want to create.
Returns
A Boolean value:
JS_TRUE
Example
char *dwConfig = "file:///c|/Program Files/Adobe/Adobe Dreamweaver CS3
/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
argument is a pointer to a string that names the folder to remove, which is provided as a
char *fileURL
file:// URL.
does not specify a folder in the Dreamweaver Configuration
fileURL
indicates success;
JS_FALSE
indicates failure.
DREAMWEAVER CS3
360
Extending Dreamweaver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents