MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 104

Extending dreamweaver
Table of Contents

Advertisement

Multiuser Configuration folders
For the multiuser operating systems of Windows XP, Windows 2000, and Macintosh OS X,
Dreamweaver creates a separate Configuration folder for each user in addition to the
Dreamweaver Configuration folder. Any time Dreamweaver or a JavaScript extension writes
to the Configuration folder, Dreamweaver automatically writes to the user Configuration
folder instead. This practice lets each Dreamweaver user customize configuration settings
without disturbing the configuration settings of other users. For more information, see
"Customizing Dreamweaver in a multiuser environment" on page 27
Multiuser Configuration API" in the Dreamweaver API Reference.
Running scripts at startup or shutdown
If you place a command file in the Configuration/Startup folder, the command runs as
Dreamweaver starts up. Startup commands load before the menus.xml file, before the files in
the ThirdPartyTags folder, and before any other commands, objects, behaviors, inspectors,
floating panels, or translators. You can use startup commands to modify the menus.xml file or
other extension files. You can also show warnings, prompt the user for information, or call the
dreamweaver.runCommand()
call a command that expects a valid Document Object Model (DOM). For information about
the Dreamweaver DOM, see
page
127.
Similarly, if you place a command file in the Configuration/Shutdown folder, the command
runs as Dreamweaver shuts down. From the shutdown commands, you can call
dreamweaver.runCommand()
but you cannot stop the shutdown process.
For more information about commands, see
more information about the
API Reference.
Reloading extensions
If you make a change to an extension while you are working in Dreamweaver, you can reload
the extensions so that Dreamweaver recognizes the change.
104
Extending Dreamweaver
function. However, from within the Startup folder, you cannot
Chapter 5, "The Dreamweaver Document Object Model," on
function, show warnings, or prompt the user for information,
Chapter 7, "Commands," on page
dreamweaver.runCommand()
and "File Access and
167. For
function, see the Dreamweaver

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?

This manual is also suitable for:

Dreamweaver 8

Table of Contents