Adobe 38040334 - Dreamweaver CS3 User Manual page 147

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Indicates that the shortcut list should appear only on the given platform. Valid values are
platform
.
"mac"
Contents
This tag can contain one or more
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 "<menuitem>" on
key
page 138.
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
you do not specify this attribute, the shortcut works on both platforms.
The path to a file containing the JavaScript code that Dreamweaver executes when you use the keyboard
file
shortcut. The
attribute overrides the
file
shortcut.
Provides arguments for Dreamweaver to pass to the code in the JavaScript file that you specify in the
arguments
attribute. Enclose arguments in single quotation marks ('), inside the double quotation marks (") used to
file
delimit an attribute's value.
The JavaScript code that Dreamweaver executes when you use the keyboard shortcut. Specify either
command
or
for each shortcut.
file
command
A unique identifier for a shortcut.
id
A name for the command executed by the keyboard shortcut, in the style of a menu command name. For
name
example, the
attribute for the F12 shortcut is
name
Contents
None (empty tag).
Container
This tag must be contained in a
tags. It can also contain one or more comment tags (which use the same
shortcut
attribute. You must specify either
command
"Preview in Primary Browser"
tag.
shortcutlist
DREAMWEAVER CS3
Extending Dreamweaver
"win"
and
. If
"win"
and
"mac"
or
for each
file
command
.
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents