
190 Menus and Menu Commands
Example
<action name="Set magnification to 50%" key="5" command="dw.activeViewScale
= 0.50" id ="DWTools_Zoom_50" />
<activate>
Description
Contains the key combination to activate the tool.
Attributes
{name}, key, id
■ name A localized version of the action.
■ key The key combination used to activate the tool. For syntax details, see <menuitem>.
■ id A unique ID used to reference the action.
Contents
None (empty tag).
Container
This tag must be contained in a tool tag.
Example
<activate name="Switch to Hand tool" key="H" id="DWTools_Hand_Active1" />
<override>
Description
Contains the key combination to temporarily activate the tool. While in another modal tool,
the user can press and hold this key to switch to this tool.
Attributes
{name}, key, id
■ name A localized version of the action.
■ key The key combination used to quickly activate the tool. For syntax details, see
<menuitem>.
■ id A unique ID used to reference the action.
Contents
None (empty tag).
Comentarios a estos manuales