Learn how to add commands to the Commands menu in Dreamweaver.
Dreamweaver automatically adds any files that are inside the Configuration/Commands folder to the bottom of Commands menu (Tools > Commands). To prevent a command from appearing in the Commands menu, insert the following comment on the first line of the file:
<!-- MENU-LOCATION=NONE -->
When this line is present, Dreamweaver does not create a menu item for the file, and you must call dw.runCommand() to execute the command.