Adobe 29180248 User Guide - Page 43

shortcutlist, shortcut

Page 43 highlights

Container This tag must be contained in a configuration-changes tag. Example shortcutlist Description Specifies a shortcut list to be added to the menus.xml file. Attributes id, {platform} id ID for the new shortcut list. It should be the same as the menu ID for the menu bar that represents a window in Dreamweaver with which the shortcuts are associated. Currently supported IDs are DWMainWindow, DWMainSite, DWTimelineInspector, and DWHTMLInspector. platform Indicates that the shortcut list should appear only on the given platform. Valid values are "win" and "mac". Contents None. Container This tag must be contained in a shortcut-insert tag. Example shortcut Description Specifies a keyboard shortcut to be added to the menus.xml file. key, id, {command}, {file}, {platform} key The key combination used to activate the keyboard shortcut. For syntax details that apply to Dreamweaver, see "About customizing Dreamweaver menus" in the "Customizing Dreamweaver" chapter of Using Dreamweaver. id A unique identifier for a shortcut. Your shortcut IDs should start with a company name or some other namespace prefix to ensure uniqueness. One useful approach is to prefix every ID with your domain name (with the elements reversed); for example, if your domain name is joe.com, you could start every ID with com.joe. to ensure uniqueness. command The JavaScript code to execute when the user issues the keyboard shortcut. file A file containing the JavaScript code to execute when the user issues the keyboard shortcut. The file attribute overrides the command attribute; either file or command must be specified for each shortcut. MXI tag descriptions 43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

MXI tag descriptions
43
Container
This tag must be contained in a
configuration-changes
tag.
Example
<shortcut-remove id = "DWMainWindow" />
shortcutlist
Description
Specifies a shortcut list to be added to the menus.xml file.
Attributes
id
,
{platform}
id
ID for the new shortcut list. It should be the same as the menu ID for the menu bar that
represents a window in Dreamweaver with which the shortcuts are associated. Currently
supported IDs are
DWMainWindow
,
DWMainSite
,
DWTimelineInspector
, and
DWHTMLInspector
.
platform
Indicates that the shortcut list should appear only on the given platform. Valid values
are
"win"
and
"mac"
.
Contents
None.
Container
This tag must be contained in a
shortcut-insert
tag.
Example
<shortcutlist id = "NewMenuBar" platform = "win" />
shortcut
Description
Specifies a keyboard shortcut to be added to the menus.xml file.
key
,
id
,
{command}
,
{file}
,
{platform}
key
The key combination used to activate the keyboard shortcut. For syntax details that apply
to Dreamweaver, see “About customizing Dreamweaver menus” in the “Customizing
Dreamweaver” chapter of
Using Dreamweaver
.
id
A unique identifier for a shortcut. Your shortcut IDs should start with a company name or
some other namespace prefix to ensure uniqueness. One useful approach is to prefix every ID
with your domain name (with the elements reversed); for example, if your domain name is
joe.com, you could start every ID with
com.joe.
to ensure uniqueness.
command
The JavaScript code to execute when the user issues the keyboard shortcut.
file
A file containing the JavaScript code to execute when the user issues the keyboard
shortcut. The
file
attribute overrides the
command
attribute; either
file
or
command
must be
specified for each shortcut.