快捷键Accelerator

Accelerator 包含添加预定义的快捷键的设置。Accelerator contains the settings that add a predefined Accelerator.

备注

此元素未出现在属性窗格中的 Windows 系统映像管理器 (Windows SIM) 将此元素添加到答案文件之前。This element does not appear in the Properties pane of Windows System Image Manager (Windows SIM) until you add this element to the answer file.

加速器是在 Internet Explorer 中的菜单选项,可帮助自动执行常见的浏览器相关任务。Accelerators are menu options in Internet Explorer that help automate common browser-related tasks. 在 Internet Explorer 中,右键单击所选的文本时加速器的可用选项列表中显示。In Internet Explorer, when you right-click selected text, Accelerators appear in the list of available options. 例如,如果您选择一个地址,可以使用快捷键来显示该地址的映射。For example, if you select an address, you can use an Accelerator to show a map of that address.

子元素Child Elements

设置Setting 描述Description
AcceleratorXMLAcceleratorXML 指定加速器 XML 文件的 URL。Specifies the URL of an Accelerator XML file.
ItemKeyItemKey 指定加速器的唯一键。Specifies a unique key for the Accelerator.
IsDefaultIsDefault 指定快捷键是否为默认快捷键。Specifies whether the Accelerator is the default Accelerator.

有效配置阶段Valid Configuration Passes

专用化specialize

父层次结构Parent Hierarchy

Microsoft-Windows-IE-InternetExplorer | Accelerators| AcceleratorMicrosoft-Windows-IE-InternetExplorer | Accelerators| Accelerator

适用于Applies To

Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft Windows IE InternetExplorerFor a list of Windows editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.

XML 示例XML Example

以下 XML 输出指定将添加两个快捷键。The following XML output specifies adding two Accelerators.

<Accelerators>
  <Accelerator wcm:action="add">
    <AcceleratorXML>C:\Fabrikam\Accelerator1.xml</AcceleratorXML>
    <ItemKey>Accelerator1</ItemKey>
    <IsDefault>true</IsDefault>
  </Accelerator>
  <Accelerator wcm:action="add">
    <AcceleratorXML>C:\Fabrikam\Accelerator2.xml</AcceleratorXML>
    <ItemKey>Accelerator2</ItemKey>
  </Accelerator>
</Accelerators>

加速器Accelerators