MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 473

Extending dreamweaver
Table of Contents

Advertisement

The
char *contstraints
If you specify
null
Returns
is an array that contains the list of files or folders in either the user Configuration
JSObject
folder or the Dreamweaver Configuration folder, subject to filtering by the
mm_deleted_files.xml file.
Examples
JSObject *jsobj_array;
jsobj_array = MM_GetConfigFolderList("file:///¬
c|/P
rogram Files/Macromedia/Dreamweaver/Configuration", "directories" );
JSBool MM_ConfigFileExists()
Availability
Dreamweaver MX.
Description
This function checks whether the specified file exists. If it is a file in a configuration folder, the
function searches for the file in the user Configuration folder or the Dreamweaver
Configuration folder. The function also checks whether the filename is listed in the
mm_deleted_files.xml file. If the name is listed in this file, the function returns a
Arguments
char *fileUrl
The
char *fileUrl
provided in the format of a file:// URL.
Returns
A Boolean value:
JS_TRUE
Example
char *dwConfig = "file:///c|/
Configuration/Extensions.txt";
int fileno = 0;
if(MM_ConfigFileExists(dwConfig))
{
fileno = MM_OpenConfigFile(dwConfig, "read");
}
argument can be "
, the
MM_GetConfigFolderList()
argument is a pointer to a string that names the desired file, which is
indicates success;
P
rogram Files/Macromedia/Dreamweaver/
or "
files"
directories
function returns files and folders.
indicates failure.
JS_FALSE
File Access and Multiuser Configuration API
" or a
value.
null
value.
false
473

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