MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 476

Extending dreamweaver
Table of Contents

Advertisement

Returns
A Boolean value:
JS_TRUE
the file does not exist or an error occurs while getting the attributes.
Example
char dwConfig = "file:///c|/
Configuration/Extensions.txt";
unsigned long attrs;
unsigned long filesize;
unsigned long modtime;
unsigned long createtime;
MM_GetConfigAttributes(dwConfig, &attrs, &filesize, &modtime, &createtime);
JSBool MM_SetConfigFileAttributes()
Availability
Dreamweaver MX.
Description
This function sets the attributes that you specify for the file, if they are different from the
current attributes.
If the specified file URL is in the Dreamweaver Configuration folder, this function first copies
the file to the user Configuration folder before it sets the attributes. If the attributes are the
same as the current file attributes, the file is not copied.
Arguments
char *fileURL, unsigned long attrs
The
char *fileURL
want to set the attributes, which is provided as a file:// URL.
The
unsigned long attrs
can use a logical
OR
MM_FILEATTR_NORMAL
MM_FILEATTR_RDONLY
MM_FILEATTR_HIDDEN
MM_FILEATTR_SYSTEM
MM_FILEATTR_SUBDIR
Returns
A Boolean value:
JS_TRUE
the file does not exist or it is marked for deletion.
476
C-Level Extensibility
indicates success;
P
rogram Files/Macromedia/Dreamweaver/
argument is a pointer to a string that names the file for which you
argument specifies the attribute bits to set on the file. You
on the following constants to set the attributes:
indicates success;
indicates failure. Returns
JS_FALSE
indicates failure. Returns
JS_FALSE
if
JS_FALSE
if
JS_FALSE

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents