Chapter 2: The File I/O Api; Accessing Configuration Folders; The File I/O Api - Adobe 38040334 - Dreamweaver CS3 User Manual

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Chapter 2: The file I/O API

Adobe® Dreamweaver® CS3 includes a C shared library called DWfile, which lets authors of
objects, commands, behaviors, data translators, floating panels, and Property inspectors read
and write files on the local file system. This chapter describes the File I/O API and how to use it.
For general information on how C libraries interact with the JavaScript interpreter in Dream-
weaver, see "C-Level Extensibility" in Extending Dreamweaver.

Accessing configuration folders

On Microsoft Windows 2000 and Windows XP, and Mac OS X platforms, users have their own
copies of configuration files. Whenever Dreamweaver writes to a configuration file, Dream-
weaver writes it to the user's Configuration folder. Similarly, when Dreamweaver reads a config-
uration file, Dreamweaver searches for it first in the user's Configuration folder and then in the
Dreamweaver Configuration folder. DWfile functions use the same mechanism. In other words,
if your extension reads or writes a file in the Dreamweaver Configuration folder, your extension
also accesses the user's Configuration folder. For more information about configuration folders
on multiuser platforms, see Extending Dreamweaver.

The file I/O API

All functions in the file I/O API are methods of the
object.
DWfile
DWfile.copy()
Availability
Dreamweaver 3.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents