Difference between revisions of "Documentation/FAQ/Macros/How can I assign a macro to a key?"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE: How can I assign a macro to a key?}} <section begin=question/> '''How can I assign a macro to a key?''' <section end=question/> <div> <span style="border:1px solid #CCAA77...)
 
Line 13: Line 13:
  
 
<section begin=answer/>
 
<section begin=answer/>
# Go to <b>Tools > Macros > Macro...</b>, select the macro you wish to assign to a keystroke, then click <b>Assign</b>.
 
# Under the <b>Keyboard</b> tab, select some unused key for this action, like <b>F3</b> for instance.
 
# Click on <b>Modify</b>, then <b>OK</b>, then <b>Close</b>.
 
  
Now an <b>F3</b> keystroke will run the macro. If you save it under <b>soffice</b>, it will be available in all your OpenOffice.org documents.
 
 
The above is incorrect:
 
 
# Go to <b>Tools > Customize</b>.
 
# Go to <b>Tools > Customize</b>.
 
# Select <b>Keyboard</b> Tab.
 
# Select <b>Keyboard</b> Tab.

Revision as of 16:24, 27 March 2009


How can I assign a macro to a key?

Documentation checkarticle.png This article needs to be checked for accuracy and style.


  1. Go to Tools > Customize.
  2. Select Keyboard Tab.
  3. Under Category, select OpenOffice.org Macros.
  4. Browse to the Macro containing the desired Function.
  5. Under Function, select the desired function.
  6. Under Shortcut keys, browse to and select the desired shortcut key.
  7. Click on Modify. The shortcut key now appears under Keys.
Personal tools