Tool Window - Macro Manager |
|
Your software offers you the possibility to automate work procedures that you use repeatedly. To record, edit, manage, and run macros, use the Macro Manager tool window. Should this tool window not be on display, use the View > Tool Windows > Macro Manager command to display it. Structure of the tool windowThe tool window is made up of several groups. Click on one of the areas in the tool window shown above to jump to the corresponding help topic. (2) Selection and display of the active macro (3) The active macro's list of functions (4) The tool window's context menu See also (1) The tool window's toolbarIn the Macro Manager tool window, a number of buttons are at your disposal in the toolbar. Starting and finishing a macro recordingUse these buttons to start the recording of a macro and to finish the macro recording.
Run MacroUse these buttons to run the active macro. You can either have all of the macro's functions carried out one after the other, without any interruptions, or you can run the macro step by step.
Managing macrosUse these buttons to set up a new macro, to manage existing macros, or to delete them.
Activating the batch mode for macros
You can find additional information on the batch process for macros here. (2) Selection and display of the active macroIn the Macro Manager tool window, there is always only one single macro active. The macro that is active will be shown in the macro list, located immediately beneath the tool window's toolbar. Most of the commands within the tool window apply to the active macro. You can only edit the active macro, deleting or adding functions for example. Display of the active macroWhile you record a macro, or let a macro run in the batch mode, you can't activate any other macro. That's why, in this case, the name of the active macro will be shown in gray. Selecting a macroIf you want to edit an existing macro, select the one you require from the list. By doing this, you will load all of the functions belonging to this macro into the list of functions. Now, you can delete or add functions. Which macros will you find in the list?In the Macro Manager tool window you will be offered all of the macros you have yourself defined. Additionally, the macro list contains all of the macros that have been published. Note: Macros will be user dependent saved. Macros that you have recorded and not published, will, as a rule, not be visible to other users of the software. All of the macros that you've defined yourself and have not later on published, will be indicated by this icon 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 (3) The active macro's list of functionsThe Macro Manager tool window's list of functions shows all of the active macro's functions. Each of the functions will be shown in its own row. The central field (1) contains the function's name. Within the row you will find a number of icons that supply information on the corresponding function (2-3).
(2) Function status (3) Execution mode
(3.1) List of functionsThe order of the functions in the tool window corresponds exactly to the order in which you used the commands, or carried out the actions, in your software while the macro was being recorded. When you run the macro, the functions will be automatically carried out from the top to the bottom of the list. You can change the order of the functions after the recording has been made, by using the commands Move step up, Move step down, Move step to top and Move step to bottom. You can find these commands in the Macro Manager tool window's context menu. To open the context menu, move your mouse pointer onto the list of functions and click the right mouse button. The name of a function is set by your software. As a rule, it corresponds to the name of the command. The commands in the tool window's context menu, Delete step for example, relate to the functions that have been selected in the tool window's list of functions. The functions you have selected will be highlighted in color in the tool window. If you want to select several functions, use the standard MS-Windows conventions for the multiple selection. back to "The active macro's list of functions" (3.2) Function statusThe icons in the first row contain information on the function's status. The following icons will be used to identify the function's status:
back to "The active macro's list of functions" (3.3) Execution modeThe icons in the second row contain information on the execution mode in which the function is to be used within the macro. The following icons will be used to identify the execution mode's status:
back to "The active macro's list of functions" (3.4) Functions parametersNumerous functions use function parameters. That is always the case, for example, when you need to open a dialog box to record a function.
back to "The active macro's list of functions" (4) The tool window's context menuMove your mouse pointer onto the Macro Manager tool window's list of functions. Click the right mouse button to open a context menu. Before you use commands from the context menuSelect one or more functions in the list of functions. The commands in the tool window's context menu, Delete step for example, relate to the selected functions. The functions you have selected will be highlighted in color in the tool window. If you want to select several functions, use the standard MS-Windows conventions for the multiple selection. The following commands and menus are available in the context menu:
Recording > Insert afterUse this command to add functions to an existing macro. The Macro Manager tool window will switch to the recording mode. Now carry out the actions and use the commands in your software, that you want to add to the macro. All of the recorded functions will be inserted after the selected function. Recording > AppendUse this command to add functions to an existing macro. The Macro Manager tool window will switch to the recording mode. Now carry out the actions and use the commands in your software, that you want to add to the macro. All of the recorded functions will be inserted at the end of the macro. Alternatively, click the Record Macro button in the tool window's toolbar. back to "The tool window's context menu" Insert special commandCertain functions can only be used within a macro. Possible special functions are: back to "The tool window's context menu" Delete stepUse this command to delete all of the selected functions from the macro. To delete the complete macro, click the Delete Macro button in the tool window's toolbar. back to "The tool window's context menu" Update stepWhen you import macros that have been recorded with an older software version into your software, it will very likely result in an error message appearing in the first row of the list of functions. Your software then doesn't know this macro function, and therefore it can't be carried out. You can update such a macro function. Select this macro function, then use the Update step command from the tool window's context menu. back to "The tool window's context menu" Move stepThe context menu contains the Move step up, Move step down, Move step to top and Move step to bottom commands. Use one of these commands to change the order of the functions in the macro. When you run the macro, the functions will be automatically carried out from the top to the bottom of the list. back to "The tool window's context menu" Activation > Activate All / Activate SelectedWhen the macro is run, only the functions that are active will be carried out. Use this command to activate all of the functions, or only the functions that have been selected, in a macro. Activation > Deactivate All / Deactivate SelectedWhen the macro is run, only the functions that are active will be carried out. The deactivated functions will be skipped. Use this command to deactivate all of the functions, or only the functions that have been selected, in a macro. For example: It can make sense to deactivate functions within a macro when you are testing a macro. When you deactivate some of the functions, you can concentrate on the functions that are not yet producing the results you want. back to "The tool window's context menu" Execution mode > All Silent / All InteractiveNumerous commands in your software open dialog boxes in which you can make certain settings. When you record such a command, these settings will likewise be recorded. The commands in the Execution Mode menu apply only to functions in which function parameters are used. Use the Execution Mode > All Silent command to assign all of the functions that have been selected, the (silent) execution mode. A function in the (silent) execution mode uses fixed settings when the macro is run. You determine the settings that are to be used when you record the macro. Use the Execution Mode > All Interactive command to assign all of the functions that have been selected, the (interactive) execution mode. A function in the (interactive) execution mode, opens a dialog box with settings for the function while the macro is being run. back to "The tool window's context menu" Run > AllUse this command to run the active macro. You can find more information on this topic here. Run > Step by StepUse this command to run the active macro step by step. You can find more information on this topic here. back to "The tool window's context menu" 6200 |