Std DlgMacroRecord: Difference between revisions

From FreeCAD Documentation
m (space)
m (rename  DlgMacroStop in Std MacroStopRecord)
Line 28: Line 28:
* '''Macro name''': Enter the name of the new macro.
* '''Macro name''': Enter the name of the new macro.
* '''Macro path''': Path macro library. To change the path, click {{Button| ... }}.
* '''Macro path''': Path macro library. To change the path, click {{Button| ... }}.
* {{KEY|Record}}: Record the macro. Starts recording of everything that is done later. The button {{Button|[[File:Std_DlgMacroStop.png|16px]] Stop the macro recording session}} in the macros toolbar [[File:Macros_toolbar.jpg|96px]] turn green [[File:Std_DlgMacroStop_02.png|16px]].
* {{KEY|Record}}: Record the macro. Starts recording of everything that is done later. The button {{Button|[[File:Std MacroStopRecord.svg|16px]] Stop the macro recording session}} in the macros toolbar [[File:Macros_toolbar.jpg|96px]] turn green [[File:Std_DlgMacroStop_02.png|16px]].
* {{Button|Stop}}: Stop recording the macro.
* {{Button|Stop}}: Stop recording the macro.
* {{Button|Cancel}}: Cancels and closes the window.
* {{Button|Cancel}}: Cancels and closes the window.


<!--T:7-->
<!--T:7-->
Once completed click {{KEY|[[File:Std_DlgMacroStop_02.png|16px]] [[Std DlgMacroStop|Stop the macro recording session]]}} to stop recording the macro.
Once completed click {{KEY|[[File:Std MacroStopRecord.svg|16px]] [[Std MacroStopRecord|Stop the macro recording session]]}} to stop recording the macro.


<!--T:8-->
<!--T:8-->
The macro can be called through {{MenuCommand|Macro → Macros...}}, or with the {{Button|[[File:Std_DlgMacroExecuteDirect.png|16px]] [[Std_DlgMacroExecuteDirect|Execute this macro]]}} button in the macro toolbar to be executed or modified as you want
The macro can be called through {{MenuCommand|Macro → Macros...}}, or with the {{Button|[[File:Std_DlgMacroExecuteDirect.svg|16px]] [[Std_DlgMacroExecuteDirect|Execute this macro]]}} button in the macro toolbar to be executed or modified as you want


==Example== <!--T:9-->
==Example== <!--T:9-->


<!--T:13-->
<!--T:13-->
Click the button [[File:Std DlgMacroRecord.png|16px]] enter a name for the macro and validate, open a document, create a cube, change the color stop the macro with the button [[File:Std_DlgMacroStop_02.png|16px]].
Click the button [[File:Std DlgMacroRecord.png|16px]] enter a name for the macro and validate, open a document, create a cube, change the color stop the macro with the button [[File:Std MacroStopRecord.svg|16px]].


<!--T:10-->
<!--T:10-->

Revision as of 12:11, 1 November 2019

Std DlgMacroRecord

Menu location
Macro → Macro recording ...
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Execute macro

Description

This function records a macro, all operations you made in 3D space.

It is accessible via Macro → Macro recording, or via Macro recording button in the macro toolbar .

Utilization

Start the function with one of these methods before. The following window appears:

Macro recording

  • Macro name: Enter the name of the new macro.
  • Macro path: Path macro library. To change the path, click ... .
  • Record: Record the macro. Starts recording of everything that is done later. The button Stop the macro recording session in the macros toolbar turn green .
  • Stop: Stop recording the macro.
  • Cancel: Cancels and closes the window.

Once completed click Stop the macro recording session to stop recording the macro.

The macro can be called through Macro → Macros..., or with the Execute this macro button in the macro toolbar to be executed or modified as you want

Example

Click the button enter a name for the macro and validate, open a document, create a cube, change the color stop the macro with the button .

The macro is available in your macros directory.