Publish Macros

Use the Publish Macros... command to make your own macros also available to other users of your software.

You will find the command in the Macro Management menu. To open this menu, click the Macro Management bb_manage_macro button in the Macro Manager tool window's toolbar.

Private macros icon_user_palette and public macros icon_standard_palette

All of the macros that you've defined yourself and have not later on published, will be indicated by this icon icon_user_palette. These macros are only available to you. When another user logs on to your PC and starts your software, these macros won't be visible to him.

Should you wish to make a macro available to all of the software's users, you can publish that macro. All macros that have been published can be recognized by this icon icon_standard_palette.

Please note...

Publish Macros

See also

Tool Window - Macro Manager

Macro Management

Please note...

When you publish macros, please pay attention to the points listed below:

Setting up a backup copy

Before you publish a macro, you should set up a backup copy of this macro. In this way you will prevent your macro from being overwritten or removed by other users, and its functionality being thereby lost.

To create a backup copy, you can use the Duplicate Macro... command. In this way you'll create a copy of your macro. The copied macro is a private macro and is only available to you.

To create a backup copy, you can alternatively use the Export Macros... command. By doing this you will create a macro file in a directory of your choice. Even if the macro has then been deleted in your software, you will still be able to reimport the macro from the macro file at any time.

Editing public macros

Public macros can no longer be edited. For example, once a macro has been published you can't change its functions' parameters any more.

To be able to edit a public macro, you will have to make this macro into a private macro once more.

To do this, activate the macro in the Macro Manager tool window, then use the Edit macro command from the tool window's context menu. To open the context menu, right click on the list of functions in the tool window.

Overwriting public macros

It's not possible to have two public macros with the same name in your software. If you want to publish a macro with a name under which another macro already exists, you will receive a message. If you confirm this message with Yes you will overwrite the existing macro. That macro's functionality will then be irrevocably lost.

Deleting public macros

A public macro can be deleted by every user.

back to top

Publishing macros

1.Use the View > Tool Windows > Macro Manager command to make the Macro Manager tool window appear.

2.In the Macro Manager tool window's list of macros, all of the macros you have yourself defined will be offered to you. Additionally, the macro list contains all of the macros that have been published.

Publishing a macro

2.Select the macro you want to publish from the macro list.

3.In the tool window's toolbar, click the Macro Management bb_manage_macro button to open a menu with commands for the administration of macros.

4.Use the Publish Macros... command.

The Publish Macros dialog box opens. In it you will find all of the macros that you've defined and which have not yet been published.

The check box in front of the active macro has already been selected.

5.Select the check box in front of each macro that you want to publish.

6.Close the dialog box with OK.

Should there already be a macro that has been published with the same name as one of the macros you've selected, you will receive a message.

7.Close the message.

If you confirm the message with Yes you will overwrite the existing macro. That macro's functionality will then be irrevocably lost.

If you answer the message with No the procedure will be canceled. Copy the macro that you couldn't publish.

Renaming a macro

8.Activate the macro you couldn't publish in the Macro Manager tool window.

9.Click the Macro Management bb_manage_macro button in the tool window's toolbar.

10.Use the Rename Macro... command.

The Rename Macro dialog box opens.

11.Enter a name and a description for the macro. Make sure you assign a name that has not yet been assigned.

12.Close the dialog box with OK.

Now, you can publish the macro.

back to top

6235