Difference between revisions of "Documentation/DevGuide/Scripting/Running Macros"
m (1 revision(s)) |
m |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/Scripting/Editing, Creating and Managing Macros | |NextPage=Documentation/DevGuide/Scripting/Editing, Creating and Managing Macros | ||
}} | }} | ||
| − | {{DISPLAYTITLE:Running Macros}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Scripting/{{SUBPAGENAME}}}} |
| − | To run a macro use the menu item '''Tools | + | {{DISPLAYTITLE:Running Macros}} |
| + | To run a macro use the menu item '''Tools > Macros > Run Macro…''' This opens the Macro Selector dialog: | ||
[[Image:MacroSelectorDialog.png|none|thumb|400px|Macro Selector dialog]] | [[Image:MacroSelectorDialog.png|none|thumb|400px|Macro Selector dialog]] | ||
| Line 13: | Line 14: | ||
* My Macros (macros belonging to the current user) | * My Macros (macros belonging to the current user) | ||
| − | * | + | * OpenOffice Macros (macros available to all users of the installation) |
* DocumentName Macros (macros contained in the currently active document) | * DocumentName Macros (macros contained in the currently active document) | ||
Each of these entries can be expanded to show any macro libraries they contain. When a library has been selected, the macros contained in that library are displayed in the Macro name list box. When a macro is selected its description, if one exists, is displayed at the bottom of the dialog. Selecting a macro and clicking Run will close the dialog and run the macro. Clicking Cancel will close the dialog without running a macro. | Each of these entries can be expanded to show any macro libraries they contain. When a library has been selected, the macros contained in that library are displayed in the Macro name list box. When a macro is selected its description, if one exists, is displayed at the bottom of the dialog. Selecting a macro and clicking Run will close the dialog and run the macro. Clicking Cancel will close the dialog without running a macro. | ||
| − | Macros can also be run directly from the Macro Organizer [[Documentation/DevGuide/Scripting/Editing, Creating and Managing Macros|Editing, Creating and Managing Macros]] and from some | + | Macros can also be run directly from the Macro Organizer [[Documentation/DevGuide/Scripting/Editing, Creating and Managing Macros|Editing, Creating and Managing Macros]] and from some macro editors. |
{{PDL1}} | {{PDL1}} | ||
| − | [[Category: Scripting]] | + | |
| + | [[Category:Documentation/Developer's Guide/Scripting]] | ||
Latest revision as of 18:09, 21 December 2020
To run a macro use the menu item Tools > Macros > Run Macro… This opens the Macro Selector dialog:
The Library list box contains a tree representation of all macro libraries. At the top level, there are three entries:
- My Macros (macros belonging to the current user)
- OpenOffice Macros (macros available to all users of the installation)
- DocumentName Macros (macros contained in the currently active document)
Each of these entries can be expanded to show any macro libraries they contain. When a library has been selected, the macros contained in that library are displayed in the Macro name list box. When a macro is selected its description, if one exists, is displayed at the bottom of the dialog. Selecting a macro and clicking Run will close the dialog and run the macro. Clicking Cancel will close the dialog without running a macro.
Macros can also be run directly from the Macro Organizer Editing, Creating and Managing Macros and from some macro editors.
| Content on this page is licensed under the Public Documentation License (PDL). |