Shortcutlist; Shortcut - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

<shortcutlist>
Description
Specifies a shortcut list in the menus.xml file.
Attributes
{app}, id, {platform}
The name of the application in which the shortcut list is available. Not currently used.
app
The ID for the shortcut list. It should be the same as the menu ID for the menu bar
id
(or context menu) in Dreamweaver that the shortcuts are associated with. Valid values are
"DWMainWindow", "DWMainSite", "DWTimelineContext"
Indicates that the shortcut list should appear only on the given platform. Valid
platform
values are
"win"
Contents
This tag can contain one or more
(which use the same syntax as HTML comment tags).
Container
None.
Example
<shortcutlist id="DWMainWindow">
<!-- shortcut and comment tags here -->
</shortcutlist>
<shortcut>
Description
Specifies a keyboard shortcut in the menus.xml file.
Attributes
key, {app}, {platform}, {file}, {arguments}, {command}, id, {name}
The key combination that activates the keyboard shortcut. For syntax details, see
key
<menuitem>.
The name of the application in which the shortcut is available. Not currently used.
app
Specifies that the shortcut works only on the indicated platform. Valid values are
platform
and
"win"
"mac"
The path to a file containing the JavaScript code that Dreamweaver executes when
file
you use the keyboard shortcut. The
specify either
Provides arguments for Dreamweaver to pass to the code in the JavaScript file
arguments
that you specify in the
inside the double quotation marks (") used to delimit an attribute's value.
The JavaScript code that Dreamweaver executes when you use the keyboard
command
shortcut. Specify either
150
Chapter 8: Menus and Menu Commands
and
.
"mac"

shortcut

. If you do not specify this attribute, the shortcut works on both platforms.
or
for each shortcut.
file
command
attribute. Enclose arguments in single quotation marks ('),
file
or
file
command
tags. It can also contain one or more comment tags
attribute overrides the
file
for each shortcut.
, and
"DWHTMLContext"
attribute. You must
command
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents