Std DlgMacroExecute/en

Description
The Std DlgMacroExecute command opens the Execute macro dialog box. From this dialog box macros can be executed, edited and managed.



Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) The Execute macro dialog box opens. See Options.

Find file / Find in files



 * These two input boxes can be used to filter macros from the file list on the User macros tab or the System macros tab. You may use regular expressions or simply enter text. All matches are case-insensitive.


 * Find file filters the list by filename. Only filenames that match the entered text will appear in the list. Find in files filters the list by file content. Only files whose text content matches the entered text will appear in the list.


 * Remove all text from a filter's input box to disable it. If both input boxes contain text, both filters are applied. Filtering may result in an empty list.

User macros

 * The User macros tab lists the macros available in the User macros location.


 * 1) Click a macro in the list to select it.
 * 2) 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 as a sibling folder of the  folder where FreeCAD is installed and put some macros there.


 * To find the  folder enter this in the Python console:




 * 1) Click a macro in the list to select it.
 * 2) The name of the selected macro will appear in the Macro name box.

User macros location

 * 1) Press the  button to change the user macros location.
 * 2) Browse to a different folder and select it.

Execute

 * 1) To execute a macro do one of the following:
 * 2) * Select the macro in the list and press the button.
 * 3) * Double-click the macro in the list.
 * 4) The dialog box closes.
 * 5) The macro is executed.

Close

 * 1) Press  or the  button to close the dialog box.

Create

 * 1) Press the  button to create a new macro file.
 * 2) Enter a name in the dialog box that pops up. You do not have to include the  extension.
 * 3) Press  or the  button.
 * 4) Both dialog boxes close.
 * 5) The new file is opened in the Macro editor.

Delete

 * 1) Select the macro you want to delete in the list.
 * 2) Press the  button.
 * 3) Press the  button in the confirmation dialog box that pops up.

Edit

 * 1) Select the macro you want to edit in the list.
 * 2) Press the  button.
 * 3) The dialog box closes.
 * 4) The selected file is opened in the Macro editor.

Rename

 * 1) Select the macro you want to rename in the list.
 * 2) Press the  button.
 * 3) Enter a new name in the dialog box that pops up. You do not have to include the  extension.
 * 4) Press  or the  button.

Duplicate

 * 1) Select the macro you want to duplicate in the list.
 * 2) Press the  button.
 * 3) Enter a new name in the dialog box that pops up. You do not have to include the  extension.
 * 4) Press  or the  button.

Toolbar

 * 1) Select the macro you want to add to a custom toolbar in the list.
 * 2) Press the  button.
 * 3) Two 'walkthrough' dialogs will guide you through the required steps. See Interface Customization for more information.

Download

 * 1) Press the  button to start the Addon manager.

Preferences

 * The user macros location can also be changed in the preferences: . See Preferences Editor.