Std DlgMacroExecute
Jump to navigation
Jump to search
|
Menu location |
---|
Macro → Macros... |
Phenomena |
All |
Default shortcut |
None |
Introduced in version |
- |
See also |
Std DlgMacroExecuteDirect |
Description
The Std DlgMacroExecute command opens the Execute macro dialog box. From this dialog box macros can be executed, edited and managed.
The Execute macro dialog box
Usage
- There are several ways to invoke the command:
- Press the
Macros... button.
- Select the Macro →
Macros... option from the menu.
- Press the
- The Execute macro dialog box opens. See Options.
Options
User macros
- The User macros tab lists the macros available in the User macros location.
- Click a macro in the list to select it.
- The name of the selected macro will appear in the Macro name box.
System macros
- To make use of the System macros tab you must create a folder named Macro as a sibling folder of the bin folder where LabRPS is installed and put some macros there.
- To find the bin folder enter this in the Python console:
App.getHomePath()
- Click a macro in the list to select it.
- The name of the selected macro will appear in the Macro name box.
User macros location
- Press the ... button to change the user macros location.
- Browse to a different folder and select it.
Execute
- To execute a macro do one of the following:
- Select the macro in the list and press the Execute button.
- Double-click the macro in the list.
- The dialog box closes.
- The macro is executed.
Close
- Press Esc or the Close button to close the dialog box.
Create
- Press the Create button to create a new macro file.
- Enter a name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
- Both dialog boxes close.
- The new file is opened in the Macro editor.
Delete
- Select the macro you want to delete in the list.
- Press the Delete button.
- Press the Yes button in the confirmation dialog box that pops up.
Edit
- Select the macro you want to edit in the list.
- Press the Edit button.
- The dialog box closes.
- The selected file is opened in the Macro editor.
Rename
- Select the macro you want to rename in the list.
- Press the Rename button.
- Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
Duplicate
- Select the macro you want to duplicate in the list.
- Press the Duplicate button.
- Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
Toolbar
- Select the macro you want to add to a custom toolbar in the list.
- Press the Toolbar button.
- Two 'walkthrough' dialogs will guide you through the required steps. See Interface Customization for more information.
Download
- Press the Download button to start the Addon manager.
Notes
- To learn more about macros see the Macros page.
Preferences
See also: Preferences Editor.
- The user macros location can also be changed in the preferences: Edit → Preferences... → Python → Macro → Macro path.