Action, Activate – Adobe Extending Dreamweaver CS4 User Manual
Page 153

147
EXTENDING DREAMWEAVER CS4
Menus and menu commands
Example
Description
Contains the key combination and JavaScript to execute when the tool is active and the key combination is pressed.
Attributes
{name}, key, command, id
•
name
A localized version of the action.
•
key
The key combination used to execute the action. For syntax details, see “
•
command
The JavaScript statements to execute. This attribute has the same format as the
command
attribute of
•
id
A unique ID used to reference the action.
Contents
None (empty tag).
Container
This tag must be contained in a
tool
tag.
Example
="DWTools_Zoom_50" /> Description Attributes {name}, key, id • name A localized version of the action. • key The key combination used to activate the tool. For syntax details, see “ • id A unique ID used to reference the action. Contents Container tool tag.
Contains the key combination to activate the tool.
None (empty tag).
This tag must be contained in a