
42
Packaging Extensions with Extension Manager CS5
shortcut-insert
Description
Indicates that a keyboard shortcut or shortcut list should be added to the menus.xml file.
Attributes
list_Id, {xml:lang}
list_Id
The ID of the shortcut list into which the shortcut should be inserted. Use this
attribute only when inserting a single shortcut into a list. Don’t use it when inserting an
entire list.
xml:lang
Specifies the language for the listed file. Extension Manager compares this language
with the user language, which is determined by the process outlined in
defaultLanguage
on
page
12
. If the languages match, configuration changes are applied; if not, they are ignored. If
Extension Manager can't determine the user language, it applies all configuration changes
regardless of their specified language.
For more information, see
Creating multilingual extension packages (version 2.1 and
later)
on
page
54
.
Contents
This tag must contain a
shortcut
tag or a
shortcutlist
tag.
Container
This tag must be contained in a
configuration-changes
tag.
Example
<shortcut-insert list_Id = "DWMainWindow">
<!-- shortcutlist or shortcut tag goes here -->
</shortcut-insert>
shortcut-remove
Description
Indicates that the specified keyboard shortcut be removed from the menus.xml file.
Attributes
id, {xml:lang}
id
ID of the shortcut or shortcut list to remove. A shortcut list is removed only if it’s empty.
xml:lang
Specifies the language for the listed file. Extension Manager compares this language
with the user language, which is determined by the process outlined in
defaultLanguage
on
page
12
. If the languages match, configuration changes are applied; if not, they are ignored. If
Extension Manager can't determine the user language, it applies all configuration changes
regardless of their specified language.
For more information, see
Creating multilingual extension packages (version 2.1 and
later)
on
page
54
.
Contents
None.