
Figure 323: Use the Macro Selector dialog to run macros
Although you can use Tools > Macros > Run Macro to run all
macros, this is not efficient for frequently run macros. A more common
technique is to assign a macro to a toolbar button, menu item,
keyboard shortcut, or a button embedded in a document. While
choosing a method, it is also good to ask questions such as:
• Should the macro be available for only one document, or globally
for all documents?
• Does the macro pertain to a specific document type, such as a
Calc document?
• How frequently will the macro be used?
The answers will determine where to store the macro and how to make
it available. For example, you will probably not add a rarely used
macro to a toolbar. To help determine your choices, see Table 4.
Table 4. Methods for starting a macro.
Type OpenOffice.org Document Type Document
Toolbar No Yes Yes
Menu No Yes Yes
Shortcut Yes Yes No
Event Yes No Yes
Chapter 13 Getting Started with Macros 385
Comentários a estes Manuais