Std DlgMacroExecute/it: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 21: Line 21:
==Descrizione==
==Descrizione==


Il comando '''Esegui la macro''' apre la finestra di dialogo Esegui macro. Da questa finestra di dialogo è possibile eseguire, modificare e gestire le macro.
<div class="mw-translate-fuzzy">
Questa funzione esegue la macro selezionata o attiva nell'editor. E' accessibili tramite {{MenuCommand|Macro → Esegui la macro}}, oppure tramite il pulsante {{Button|[[File:Std_DlgMacroExecute.png|16px]] Esegui la macro}} della barra degli strumenti delle macro [[File:Macros_toolbar.jpg|x24px]].
</div>


[[Image:Std_DlgMacroExecute_dialog.png]]
[[Image:Std_DlgMacroExecute_dialog.png]]

Revision as of 11:57, 29 April 2023

Esegui la macro

Posizione nel menu
Macro → Esegui la macro
Ambiente
Tutti
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Esegui la macro nell'editor

Descrizione

Il comando Esegui la macro apre la finestra di dialogo Esegui macro. Da questa finestra di dialogo è possibile eseguire, modificare e gestire le macro.

La finestra di dialogo Esegui macro

Utilizzo

Quando si entra in Editor della macro, il pulsante Esegui la macro assume il colore verde . Fare clic su questo pulsante per eseguire la macro.

Opzioni

Macro utente

  1. The User macros tab lists the macros available in the User macros location.
  2. Click a macro to select it.
  3. The name of the selected macro will appear in the Macro name box.

Macro di sistema

The System macros tab is not used at this time.

Posizione delle macro utente

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

Eseguire

  1. 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.
  2. The dialog box closes.
  3. The macro is executed.

Close

  1. Press Esc or the Close button to close the dialog box.

Create

  1. Press the Create 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 .FCMacro extension.
  3. Press Enter or the OK 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 Delete button.
  3. Press the Yes button in the confirmation dialog box that pops up.

Edit

  1. Select the macro you want to edit in the list.
  2. Press the Edit 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 Rename button.
  3. Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
  4. Press Enter or the OK button.

Duplicate

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

Toolbar

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

Addons

  1. Press the Addons... button to start the Addon manager.

Notes

  • To learn more about macros see the Macros page.

Preferences

  • The user macros location can also be changed in the preferences: Edit → Preferences... → Python → Macro → Macro path. See Preferences Editor.