Macro /text/shared/01/06130000.xhp Macro Opens a dialog to organize macros. UFI: it is not the dialog to run a macro
Macro name Displays the name of the selected macro. To create or to change the name of a macro, enter a name here. Lists the macros that are contained in the module selected in the Macro from list. UFI: Important: do not add Help IDS for SELECTOR_COMMANDS and SELECTOR_CATEGORIES, because they are reused for Customize dialog and will lead to display errors there if assigned. See #i51556# Macro from / Save macro in Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog. Run / Saveunfortunately both have the same Help ID Runs or saves the current macro. Assign Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event. Edit Starts the $[officename] Basic editor and opens the selected macro or dialog for editing. New / Delete Creates a new macro, or deletes the selected macro. To create a new macro, select the "Standard" module in the Macro from list, and then click New. To delete a macro, select it, and then click Delete. New Library Saves the recorded macro in a new library. New Module Saves the recorded macro in a new module. Organizer Opens the Macro Organizer dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries. Module/Dialog tab page Lets you manage modules or dialog boxes. Module/Dialog Lists the existing macros and dialogs. Edit Opens the selected macro or dialog for editing. NewUFI: i40875 Opens the editor and creates a new module. New Opens the editor and creates a new dialog. Libraries tab pagethe three tab pages have no Help button, so no need to have three help pages Lets you manage the macro libraries for the current application and any open documents. Location Select the application or the document containing the macro libraries that you want to organize. Library Lists the existing macro libraries for the current application and any open documents. Edit Opens the $[officename] Basic editor so that you can modify the selected library. Password Assigns or edits the password for the selected library. New Creates a new library. Name Enter a name for the new library or module. Importchanged in #i64102 Locate that $[officename] Basic library that you want to add to the current list, and then click Open. Scripts To open the BeanShell Macros dialog box, choose Tools - Macros - Organize Macros - BeanShell. To open the JavaScript dialog box, choose Tools - Macros - Organize Macros - JavaScript. Export Opens a dialog to export the selected library either as an extension or as a Basic library. Macros Select a macro or script from "user", "share", or an open document. To view the available macros or scripts, double-click an entry. Run To run a script, select a script in the list, and then click Run. Create Creates a new script. The default script editor opens after you enter a name for the script. Enter a name for the script.UFI: called from Create and from Rename Edit Opens the default script editor for your operating system. Rename Opens a dialog where you can change the name of the selected script. Delete Prompts you to delete the selected script. The Macro Selector dialog contains two list boxes, namely the Library list box and the Macro name list box. Library Select a macro or script from "user", "share", or an open document. To view the contents of a library, double-click an entry in the list. Macro name Click a script, and then click a command button.
Macro programming in $[officename]