Running scripts at startup or shutdown

If you place a command file in the Configuration/Startup folder, the command runs as Adobe 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() function. However, from within the Startup folder, you cannot call a command that expects a valid Document Object Model (DOM). For information about the Adobe Dreamweaver DOM, see .

Similarly, if you place a command file in the Configuration/Shutdown folder, the command runs as Adobe Dreamweaver shuts down. From the shutdown commands, you can call dreamweaver.runCommand() function, show warnings, or prompt the user for information, but you cannot stop the shutdown process.

For more information about commands, see . For more information about the dreamweaver.runCommand() function, see the Adobe Dreamweaver API Reference.