Export (0) Print
Expand All macro (Macro Keyboard Customization Action)

This element specifies that a macro should be executed by the enclosing key map.

[Example: Consider the following key map:

  <wne:keymap wne:kcmPrimary="0238">
      <wne:macro wne:macroName="PROJECT.NEWMACROS.SOMEMACRO"/>

In this example, the WordprocessingML fragment specifies that pressing Control-8 (the meaning of a KCM of 0238) will run the macro named "PROJECT.NEWMACROS.SOMEMACRO". end example]

Parent Elements

keymap3., keymap)



macroName (Macro name)

Specifies the name of the macro to run.

The possible values for this attribute are defined by the ST_String simple type (§, ST_String).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_MacroWll">
  <attribute name="macroName" type="ST_String" use="required"/>
© 2014 Microsoft