Macro /text/sbasic/shared/01/06130000.xhp Sun Microsystems, Inc. macros; Basic IDE Basic IDE; macros this file needs more work, see i62546

Macro

Opens the Macro dialog, where you can create, edit, organize, and run $[officename] Basic macros.

Macro name

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.

Run / Save

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

Organizer

Opens the Macro Organizer dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.

Module/Dialog

Lists the existing macros and dialogs. You can drag-and-drop a module or a dialog between libraries. To copy a dialog or a module, hold down the CommandCtrl key while you drag-and-drop.

Edit

Opens the selected macro or dialog for editing.

New

Creates a new module. Creates a new dialog.

Libraries tab page

Lets you manage the macro libraries.

Location

Select the location containing the macro libraries that you want to organize.

Library

Lists the macro libraries in the chosen location.

Edit

Opens the $[officename] Basic editor so that you can modify the selected library.

Password

Assigns or edits the password for the selected library. "Standard" libraries cannot have a password.

New

Creates a new library.

Name

Enter a name for the new module, dialog, or library.

Append

Locate that $[officename] Basic library that you want to add to the current list, and then click Open.