MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 477

Extending dreamweaver
Table of Contents

Advertisement

Example
char *dwConfig = "file:///c|/
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
fileURL
function creates the folder in the user Configuration folder. If
folder in the Dreamweaver Configuration 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
char *fileURL
configuration folder that you want to create.
Returns
A Boolean value:
JS_TRUE
Example
char *dwConfig = "file:///c|/
\Configuration\Extensions.txt";
MM_CreateConfigFolder(dwConfig);
P
rogram Files/Macromedia/Dreamweaver/
argument is a pointer to a file:// URL string that names the
indicates success;
JS_FALSE
P
rogram Files\Macromedia\Dreamweaver
fileURL
indicates failure.
File Access and Multiuser Configuration API
does not specify a
477

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents