Module
Efnisyfirlit
Atriðaskrá 🔎︎

# Fjölvi

Opens a dialog to organize macros.

Til að nálgast þessa skipun...

Choose Tools - Macros - Organize Macros - LibreOffice Basic, or press Option Alt+F11 (if not assigned by your system).

## Fjölvaheiti

Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.

## 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.

## Keyra / Vista

Runs or saves the current macro.

## Úthluta

Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.

## Breyta

Starts the LibreOffice Basic editor and opens the selected macro or dialog for editing.

## Nýtt / Eyða

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.

## Nýtt aðgerðarsafn

Saves the recorded macro in a new library.

## Ný eining

Saves the recorded macro in a new module.

## Stjórnandi

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.

### Breyta

Opens the selected macro or dialog for editing.

## Loka

Closes the dialog and saves all changes.

### Nýtt

Opens the editor and creates a new module.

### Nýtt

Opens the editor and creates a new dialog.

## Eyða

Deletes the selected element or elements after confirmation.

### Libraries tab page

Lets you manage the macro libraries for the current application and any open documents.

### Staðsetning

Select the application or the document containing the macro libraries that you want to organize.

### Safn

Lists the existing macro libraries for the current application and any open documents.

### Breyta

Opens the LibreOffice Basic editor so that you can modify the selected library.

## Loka

Closes the dialog and saves all changes.

### Lykilorð

Assigns or edits the password for the selected library.

### Nýtt

Býr til nýtt safn.

### Nafn

Enter a name for the new library or module.

### Flytja inn

Locate that LibreOffice Basic library that you want to add to the current list, and then click Open.

## Eyða

Deletes the selected element or elements after confirmation.

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.

## Flytja út

Opens a dialog to export the selected library either as an extension or as a Basic library.

## Fjölvar

Select a macro or script from "user", "share", or an open document. To view the available macros or scripts, double-click an entry.

### Keyra

To run a script, select a script in the list, and then click Run.

### Búa til

Creates a new script. The default script editor opens after you enter a name for the script.

Enter a name for the script.

### Breyta

Opens the default script editor for your operating system.

### Endurnefna

Opens a dialog where you can change the name of the selected script.

### Eyða

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.

### Safn

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.

### Fjölvaheiti

Click a script, and then click a command button.

Tengt efni

Assigning Scripts in LibreOffice

Recording a Macro