Std DlgMacroRecord: Difference between revisions

From FreeCAD Documentation
No edit summary
({{Std Base}} {{Userdocnavi}} to categorize the page)
Line 10: Line 10:


<!--T:4-->
<!--T:4-->
It is accessible via '''Macro → Macro recording ...''', or via {{KEY/it|[[File:Std DlgMacroRecord.png|16px]] Macro recording}} button in the macro toolbar [[File:Macros_toolbar.jpg|96px]].
It is accessible via {{MenuCommand|Macro → Macro recording}}, or via {{Button|[[File:Std DlgMacroRecord.png|16px]] Macro recording}} button in the macro toolbar [[File:Macros_toolbar.jpg|96px]].


== Utilization == <!--T:5-->
== Utilization == <!--T:5-->
Line 16: Line 16:
<!--T:6-->
<!--T:6-->
Start the function with one of these methods before. The following window appears:
Start the function with one of these methods before. The following window appears:
{|
| [[Image:Menu_Std_DlgMacroRecord_it.png‎|Macro recording]]
|
* '''Macro name''' : Enter the name of the new macro.
* '''Macro path''' : Path macro library. To change the path, click {{KEY| ... }}.
* {{KEY|Record}} : Record the macro. Starts recording of everything that is done later.<br />The button {{KEY|[[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|Stop}} : Stop recording the macro.
* {{KEY|Cancel}} : Cancels and closes the window.
|}


[[Image:Menu_Std_DlgMacroRecord_it.png‎|Macro recording]]

* '''Macro name''': Enter the name of the new macro.
* '''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]].
* {{Button|Stop}}: Stop recording the macro.
* {{Button|Cancel}}: Cancels and closes the window.


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


<!--T:8-->
<!--T:8-->
The macro can be called through '''Macro → Macros...''', or with the {{KEY|[[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.png|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-->
Line 38: Line 36:
<!--T:10-->
<!--T:10-->
The macro is available in your macros directory.
The macro is available in your macros directory.

{{Std Base}}
{{Userdocnavi}}
</translate>
</translate>
{{clear}}
{{clear}}

Revision as of 01:03, 21 October 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.