Adobe 29180248 User Guide - Page 42

shortcut-insert, shortcut-remove

Page 42 highlights

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-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. 42 Packaging Extensions with Extension Manager CS5

  • 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

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.