Adobe 38040334 API Reference - Page 11
The file I/O API, Accessing configuration folders, The file I/O API
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 11 highlights
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 Dreamweaver, 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, Dreamweaver writes it to the user's Configuration folder. Similarly, when Dreamweaver reads a configuration 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 DWfile object. DWfile.copy() Availability Dreamweaver 3.