-
Dreamweaver calls the canAcceptCommand() function to determine whether the menu item should be disabled. If the canAcceptCommand() function returns a false value, the command is dimmed in the menu, and the procedure stops. If the canAcceptCommand() function returns a true value, the procedure can continue.
-
Dreamweaver calls the receiveArguments() function, if defined, in the selected command file to let the command process any arguments that pass from the menu item or from the dreamweaver.runCommand() function. For more information on the dreamweaver.runCommand() function, see the Dreamweaver API Reference.