Once you have created a custom command, you can modify it in the following ways:
Edit the command definition, for example, to change the default values for arguments.
Edit the script that implements the command to change its behavior.
You can modify only the custom commands stored in your user location. You cannot modify commands stored in the workgroup or factory locations. In addition, you cannot modify self-installing custom commands or commands contained in add-ons.
Editing the command definition changes a command's properties, such as its description, tooltip, or the default values for arguments. Note that you cannot use this method to modify the properties of self-installing commands — you must modify the associated script instead.
Open the Command Editor by doing one of the following:
In the Command Editor, modify the options as desired. For a description of the available options, see Command Editor [Properties Reference].
You can modify what a command does by modifying the script that implements the command.
When you remove a non–self-installing command, it is "deregistered". It is no longer available for use on buttons or inside scripts, and existing scripts that make use of it will fail. The script or library file that implements the command is not deleted from the file system.
After you have removed a custom command, buttons that called it will display "Command Unavailable". You can remove these buttons as described in Organizing Toolbars with Toolbar Widgets.
You can use the Customize Toolbar dialog box to remove a command whether or not the command has an associated button.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License