<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://macros.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ASystem_Commands</id>
	<title>Category:System Commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://macros.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ASystem_Commands"/>
	<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Category:System_Commands&amp;action=history"/>
	<updated>2026-12-05T14:24:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Category:System_Commands&amp;diff=7087&amp;oldid=prev</id>
		<title>Mikeo: Created page with &quot;{{Up}}  System Commands are special macros that GibbsCAM will always run, if they exist.&lt;br&gt; They are automatically run when the GibbsCAM system performs one of ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Category:System_Commands&amp;diff=7087&amp;oldid=prev"/>
		<updated>2015-06-17T21:48:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Main_Page&quot; title=&quot;Main Page&quot;&gt;{{Up}}&lt;/a&gt;  System Commands are special macros that GibbsCAM will always run, if they exist.&amp;lt;br&amp;gt; They are automatically run when the GibbsCAM system performs one of ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Main_Page|{{Up}}]]&lt;br /&gt;
&lt;br /&gt;
System Commands are special macros that GibbsCAM will always run, if they exist.&amp;lt;br&amp;gt;&lt;br /&gt;
They are automatically run when the GibbsCAM system performs one of a list of commands.&amp;lt;br&amp;gt;&lt;br /&gt;
If the corresponding macro exists, it will be run. You can only have one macro for each command.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
All of these System Command macros are located in the Program Data folder, in the folder that is specific to the version of GibbsCAM&amp;lt;br&amp;gt;&lt;br /&gt;
that you are running. In here you will find the &amp;quot;Macros\system&amp;quot; folder. It is in this folder that you need to create&amp;lt;br&amp;gt;&lt;br /&gt;
one macro for each system command that you want use a macro for.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You can create any, or all, of the following system macros.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
File_New.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_After_Open.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_After_Save.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_After_Save_As.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_After_Close.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_Before_Import.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_Before_Save.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_Before_Close.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_Before_Change_MDD.mac&amp;lt;br&amp;gt;&lt;br /&gt;
File_After_Change_MDD.mac&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example: The macro File_After_Open is run after a part file has been opened.&amp;lt;br&amp;gt;&lt;br /&gt;
An example of such a macro might be:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
show_tool_list&amp;lt;br&amp;gt;&lt;br /&gt;
show_op_list&amp;lt;br&amp;gt;&lt;br /&gt;
set_view top&amp;lt;br&amp;gt;&lt;br /&gt;
zoom_view 0&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This will show the tool list, show the operation list, select the top view and unzoom.&amp;lt;br&amp;gt;&lt;br /&gt;
Each of these things will occur every time you open a part file.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mikeo</name></author>
	</entry>
</feed>