<tool>
Description
Represents one tool; it contains all the shortcuts for the tool as subtags in the menus.xml file.
Attributes
{name}, id
A localized version of the tool name.
name
The internal tool identifier that identifies the tool to which the shortcuts apply.
id
Contents
This tag can contain one or more
Container
This tag must be contained in a
Example
<tool name="Hand tool" id="com.macromedia.dreamweaver.tools.hand">
<!-- tool tags here -->
</tool>
<action>
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
A localized version of the action.
name
The key combination used to execute the action. For syntax details, see <menuitem>.
key
The JavaScript statements to execute. This attribute has the same format as the
command
attribute of <shortcut>.
command
A unique ID used to reference the action.
id
Contents
None (empty tag).
Container
This tag must be contained in a
,
activate
override
tag.
menu
tag.
tool
, or
tags.
action
About the menus.xml file
189
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers