Std DlgMacroExecuteDirect/it: Difference between revisions

From FreeCAD Documentation
(Undo revision 21131 by Renatorivo (talk))
(Updating to match new version of source page)
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
=Modificare, eseguire o creare una Macro=


{{Docnav
{{GuiCommand/it|Name=Std_DlgMacroExecuteDirect|Name/it=Eseguire una Macro registrata|MenuLocation=Macro → Macro ...|Workbenches=Tutti|SeeAlso=...}}
|[[Std_DlgMacroExecute|Std DlgMacroExecute]]
|[[Std_MacroAttachDebugger|Std MacroAttachDebugger]]
|[[Std_Macro_Menu|Std Macro Menu]]
|IconL=Std_DlgMacroExecute.svg
|IconR=
|IconC=Freecad.svg
}}


{{GuiCommand
==Descrizione==
|Name=Std DlgMacroExecuteDirect
|MenuLocation=Macro → Execute macro
|Workbenches=All
|Shortcut={{KEY|Ctrl}}+{{KEY|F6}}
|SeeAlso=[[Std_DlgMacroExecute|Std DlgMacroExecute]]
}}


==Description==
Questa funzione permette di creare, eseguire o modificare la macro selezionata.<br>


The '''Std DlgMacroExecuteDirect''' command executes the macro in the current Macro editor window.
==Utlizzo==


==Usage==
E' accessibile tramite '''Macro → Macro ...''', oppure tramite il pulsante {{KEY|[[File:Std_DlgMacroExecuteDirect.png|16px]] [[Std_DlgMacroExecuteDirect/it|Esegui la macro nell'editor]]}} della barra degli strumenti delle macro [[File:Macros_toolbar.jpg|96px]].
<br><br>
[[Image:Menu_Std_DlgMacroExecuteDirect_it.png|left|Esegui la Macro]]
*: '''Nome della macro :''' la finestra elenca tutte le macro registrate che si trovano nel '''Percorso macro'''.
*: '''{{KEY|Esegui}} :''' Avvia la macro selezionata.
*: '''{{KEY|Chiudi}} :''' Chiude la finestra e esce dalla funzione
*: '''{{KEY|Crea}} :''' Apre l'editor '''Python''' di FreeCAD, e apre una finestra di dialogo per assegnare un nome alla macro, e<br>apre un nuovo documento nell'area di lavoro. Il file è un file '''Python''', e verrà salvato con l'estensione '''.FCmacro'''.<br>(Il codice del file è identico a quello di un file '''Python.py''', l'estensione è stata scelta per associare il file a '''FreeCAD''').
*: '''{{KEY|Elimina}} :''' Elimina la macro selezionata.
*: '''{{KEY|Modifica}} :''' Modifica la macro selezionata nell'editor '''Python''' di FreeCAD.
* '''Percorso macro :''' Posizione della libreria delle macro. Cliccare su '''{{KEY| ... }}''', per modificare il percorso (path).
<br>


# If required open the correct macro in the Macro editor. See the [[Std_DlgMacroExecute|Std DlgMacroExecute]] command.
# Make sure the Macro editor window has the input focus.
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_DlgMacroExecuteDirect.svg|16px]] [[Std_DlgMacroExecuteDirect|Std DlgMacroExecuteDirect]]}} button.
#* Select the {{MenuCommand|Macro → [[Image:Std_DlgMacroExecuteDirect.svg|16px]] Execute macro}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|F6}}.
# The macro is executed.

==Notes==

* To learn more about macros see the [[Macros]] page.

{{Docnav
|[[Std_DlgMacroExecute|Std DlgMacroExecute]]
|[[Std_MacroAttachDebugger|Std MacroAttachDebugger]]
|[[Std_Macro_Menu|Std Macro Menu]]
|IconL=Std_DlgMacroExecute.svg
|IconR=
|IconC=Freecad.svg
}}

{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}
{{MenuMacro/it}}
<br>
{{clear}}
<br>
{{ListeDeiComandi}}
{{clear}}
{{languages/it | {{en|Std_DlgMacroExecuteDirect}} {{fr|Std_DlgMacroExecuteDirect/fr}} {{jp|Std_DlgMacroExecuteDirect/jp}} }}

Revision as of 21:12, 21 June 2020

Std DlgMacroExecuteDirect

Menu location
Macro → Execute macro
Workbenches
All
Default shortcut
Ctrl+F6
Introduced in version
-
See also
Std DlgMacroExecute

Description

The Std DlgMacroExecuteDirect command executes the macro in the current Macro editor window.

Usage

  1. If required open the correct macro in the Macro editor. See the Std DlgMacroExecute command.
  2. Make sure the Macro editor window has the input focus.
  3. There are several ways to invoke the command:
    • Press the Std DlgMacroExecuteDirect button.
    • Select the Macro → Execute macro option from the menu.
    • Use the keyboard shortcut: Ctrl+F6.
  4. The macro is executed.

Notes

  • To learn more about macros see the Macros page.