Using Macros

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:07, 5 May 2007 (edit)
Lorinda (Talk | contribs)
(Added Neo Guide and Pitonyak references)
← Previous diff
Revision as of 19:23, 5 May 2007 (edit) (undo)
Lorinda (Talk | contribs)
(added information from link about recording a macro)
Next diff →
Line 1: Line 1:
{{Stub}} {{Stub}}
-There is a trinity post on [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=31422#31422 recording a macro to apply a style] which provides a simple process for recording a Macro+==Recording a Simple Macro==
-There is also one about [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=31433#31433 saving code as a macro]+#Go to [meun|Tools], choose {{menu|Macros}} and then {{menu|Record Macro}}
 +#Perform the series of steps you want the macro to do for you automatically. (For example, apply a particualr style)
 +# When you have finished all the steps, click on {{Button|Stop recording}}
 +# In the window that appears, give the macro a name.
 +# Assign the macro to a Library and Module (See chapter 10 of the NeoOffice User Guide mentioned below for more information)
 +# Click {{button|Save}} when you have the settings the way you want
 +<br>
 +==Assigning a Shortcut Key to a Macro==
 +# Go to Tools>Customize...
 +# Click on the {{section|Keyboard}} tab
 +# In the {{section|Category}} box, scroll down to "NeoOfficeMacros" and highlight it
 +# Burrow your way down through "user" and the library and module your macros are stored in. Eventually your new macros will be listed in the Function box
 +# Highlight one of those macros
 +# In the {{section|Shorcut Keys}} box select the key you want to assign to that macro
 +# Set the radio button to specify if the key assignment is for all of NeoOffice or only for Writer
 +# click {{button|Modify}}
 +
 +<br>
 +
 +==Saving Code as a Macro==
 +
 +There is a thread in trinity about [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=31433#31433 saving code as a macro]
 +<br><br>
==Documentation/Support for Macros== ==Documentation/Support for Macros==
Chapter 10 of the [http://www.geocities.com/aussie_149/NeoUGWebsite/index.html NeoOffice User Guide] (draft) discusses Basic and Macros. Chapter 10 of the [http://www.geocities.com/aussie_149/NeoUGWebsite/index.html NeoOffice User Guide] (draft) discusses Basic and Macros.
Line 13: Line 35:
The [http://www.oooforum.org/forum/viewforum.phtml?f=9 OpenOffice.org Macros and API forum] is a good source of information on Macros. The [http://www.oooforum.org/forum/viewforum.phtml?f=9 OpenOffice.org Macros and API forum] is a good source of information on Macros.
- +<br><br>
==Sources of Macros== ==Sources of Macros==
[http://www.ooomacros.org/ OOoMacros.org] has a library of macros available for download. [http://www.ooomacros.org/ OOoMacros.org] has a library of macros available for download.

Revision as of 19:23, 5 May 2007

This article is a stub, consisting primarily of a link or links to threads in the support forums at trinity.


Contents

Recording a Simple Macro

  1. Go to [meun|Tools], choose Macros and then Record Macro
  2. Perform the series of steps you want the macro to do for you automatically. (For example, apply a particualr style)
  3. When you have finished all the steps, click on Stop recording
  4. In the window that appears, give the macro a name.
  5. Assign the macro to a Library and Module (See chapter 10 of the NeoOffice User Guide mentioned below for more information)
  6. Click Save when you have the settings the way you want


Assigning a Shortcut Key to a Macro

  1. Go to Tools>Customize...
  2. Click on the Keyboard tab
  3. In the Category box, scroll down to "NeoOfficeMacros" and highlight it
  4. Burrow your way down through "user" and the library and module your macros are stored in. Eventually your new macros will be listed in the Function box
  5. Highlight one of those macros
  6. In the Shorcut Keys box select the key you want to assign to that macro
  7. Set the radio button to specify if the key assignment is for all of NeoOffice or only for Writer
  8. click Modify


Saving Code as a Macro

There is a thread in trinity about saving code as a macro

Documentation/Support for Macros

Chapter 10 of the NeoOffice User Guide (draft) discusses Basic and Macros.

The Getting Started with Macros Guide to OpenOffice.org can be downloaded with this link Just remember to use the command key where the OpenOffice guide says to use the control key.

Andrew Pitonyak has both a free downloadable document on OpenOffice Macros and a book that you can purchase.

The OpenOffice.org Macros and API forum is a good source of information on Macros.

Sources of Macros

OOoMacros.org has a library of macros available for download.

Personal tools