Std Macro Menu: Difference between revisions

From FreeCAD Documentation
(+ icons)
(Marked this version for translation)
 
(34 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
__NOTOC__
<!-- ==The Macro Menu== -->
<translate>
<translate>

<!--T:16-->
{{Docnav
|[[Std_Tools_Menu|Std Tools Menu]]
|[[Std_Windows_Menu|Std Windows Menu]]
|[[Std_Base|Std Base]]
|IconL=
|IconR=
|IconC=Freecad.svg
}}

<!--T:17-->
[[Image:Freecad.svg|thumb|128px|Std Base icon]]

</translate>
{{TOCright}}
<translate>

==Introduction== <!--T:12-->

<!--T:18-->
The '''Std Macro Menu''' is one of the 7 sub-menus in the [[Standard_Menu|standard menu]]:

<!--T:13-->
<!--Please keep info below synchronized with Std_Base, Standard_Menu, Std_File_Menu etc.-->
{{StdMenu
|
[[Std_File_Menu|File]]
&nbsp;&nbsp;&nbsp;
[[Std_Edit_Menu|Edit]]
&nbsp;&nbsp;&nbsp;
[[Std_View_Menu|View]]
&nbsp;&nbsp;&nbsp;
[[Std_Tools_Menu|Tools]]
&nbsp;&nbsp;&nbsp;
[[Std_Macro_Menu|Macro]]
&nbsp;&nbsp;&nbsp;
[[Std_Windows_Menu|Windows]]
&nbsp;&nbsp;&nbsp;
[[Std_Help_Menu|Help]]
}}

<!--T:1-->
<!--T:1-->
<!--Please keep info below synchronized with Standard_Menu-->
{{StdMenu|Macro}}
The Macro menu provides tools related to the recording and execution of [[Macros|macros]].


<!--T:2-->
==Tools== <!--T:15-->
[[File:Std DlgMacroRecord.png|32px]] [[Std_DlgMacroRecord|Macro recording]] opens a dialog for recording a new macro.


<!--T:3-->
<!--T:19-->
The following tools are available in this menu:
[[File:Std DlgMacroStop.png|32px]] [[Std_DlgMacroStop|Stop macro recording]] ends the current macro recording session.

<!--T:2-->
* [[File:Std_DlgMacroRecord.svg|32px]] [[Std_DlgMacroRecord|Macro recording...]]: Opens a dialog box to start a macro recording session.


<!--T:4-->
<!--T:4-->
[[File:Std DlgMacroExecuteDirect.png|32px]] [[Std_DlgMacroExecute|Macros...]] select and execute a stored macro.
* [[File:Std_DlgMacroExecute.svg|32px]] [[Std_DlgMacroExecute|Macros...]]: Opens a dialog box to manage and execute macros.

<!--T:22-->
* [[File:Std_RecentMacros.svg|32px]] Recent macros: shows a list of macros recently used, which can be called with a key combination, for example, {{KEY|Ctrl}}+{{KEY|Shift}}+{{KEY|1}}. This can be configured in the [[Preferences_Editor|Preferences]].


<!--T:5-->
<!--T:5-->
[[Std_DlgMacroExecuteDirect|Execute macro]] executes the macro currently in the macro editor.
* [[File:Std_DlgMacroExecuteDirect.svg|32px]] [[Std_DlgMacroExecuteDirect|Execute macro]]: Executes the macro currently in the Python editor.

<!--T:20-->
* [[Std_MacroAttachDebugger|Attach to remote debugger...]]: Attaches FreeCAD to a remote debugger.


<!--T:6-->
<!--T:6-->
[[File:Std DebugMacro.png|32px]] [[Std_DebugMacro|Debug macro]] starts debug session for the macro currently in the macro editor.
* [[File:Std_MacroStartDebug.svg|32px]] [[Std_MacroStartDebug|Debug macro]]: Starts a debugging session for the macro in the Python editor.


<!--T:7-->
<!--T:7-->
[[File:Std DebugStop.png|32px]] [[Std_DebugStop|Stop debugging]] ends the debugging session.
* [[File:Std_MacroStopDebug.svg|32px]] [[Std_MacroStopDebug|Stop debugging]]: Stops a debugging session.


<!--T:8-->
<!--T:8-->
[[Std_DebugOver|Step over]]
* [[Std_MacroStepOver|Step over]]: Steps over code.


<!--T:9-->
<!--T:9-->
[[Std_DebugInto|Step into]]
* [[Std_MacroStepInto|Step into]]: Steps into code.


<!--T:10-->
<!--T:10-->
[[Std_DebugToggle|Toggle breakpoint]]
* [[Std_ToggleBreakpoint|Toggle breakpoint]]: Toggles a breakpoint.

==Obsolete tools== <!--T:23-->

<!--T:3-->
* [[File:Std_MacroStopRecord.svg|32px]] [[Std_MacroStopRecord|Stop macro recording]]: Stops a macro recording session. Integrated in [[Std_DlgMacroRecord|Std DlgMacroRecord]]. Not available in {{VersionPlus|0.22}}.


<!--T:21-->
{{Docnav
|[[Std_Tools_Menu|Std Tools Menu]]
|[[Std_Windows_Menu|Std Windows Menu]]
|[[Std_Base|Std Base]]
|IconL=
|IconR=
|IconC=Freecad.svg
}}


<!--T:11-->
{{Std Base}}
{{Userdocnavi}}
</translate>
</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:Workbenches{{#translation:}}]]

Latest revision as of 08:19, 10 October 2023

Std Base icon

Introduction

The Std Macro Menu is one of the 7 sub-menus in the standard menu:

File     Edit     View     Tools     Macro     Windows     Help

The Macro menu provides tools related to the recording and execution of macros.

Tools

The following tools are available in this menu:

  • Macros...: Opens a dialog box to manage and execute macros.
  • Recent macros: shows a list of macros recently used, which can be called with a key combination, for example, Ctrl+Shift+1. This can be configured in the Preferences.
  • Execute macro: Executes the macro currently in the Python editor.
  • Debug macro: Starts a debugging session for the macro in the Python editor.

Obsolete tools