<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ultraedit.com/index.php?action=history&amp;feed=atom&amp;title=Create_and_edit_macros</id>
		<title>Create and edit macros - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ultraedit.com/index.php?action=history&amp;feed=atom&amp;title=Create_and_edit_macros"/>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Create_and_edit_macros&amp;action=history"/>
		<updated>2026-06-17T18:25:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Create_and_edit_macros&amp;diff=817&amp;oldid=prev</id>
		<title>Idmadmin at 21:32, 4 January 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Create_and_edit_macros&amp;diff=817&amp;oldid=prev"/>
				<updated>2018-01-04T21:32:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:32, 4 January 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot; &gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;idm-see-also&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;idm-see-also&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See also: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See also: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Macro commands]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Macro commands]] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Record macro]] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Record macro]] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Quick record macro]] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Quick record macro]] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Set macro auto-load on startup|Set macro auto-load]] &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Set macro to run on file load / save|Set macro for file load / save]] &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Create_and_edit_macros&amp;diff=813&amp;oldid=prev</id>
		<title>Idmadmin: Created page with &quot;﻿Category:Advanced tab alt=Screenshot of Edit/Create Macro dialog in UltraEdit Clicking the &#039;&#039;&#039;Edit macro...&#039;&#039;&#039; item in th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Create_and_edit_macros&amp;diff=813&amp;oldid=prev"/>
				<updated>2018-01-04T14:24:20Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;﻿&lt;a href=&quot;/Category:Advanced_tab&quot; title=&quot;Category:Advanced tab&quot;&gt;Category:Advanced tab&lt;/a&gt; &lt;a href=&quot;/File:UltraEdit_edit_create_macro.png&quot; title=&quot;File:UltraEdit edit create macro.png&quot;&gt;right|alt=Screenshot of Edit/Create Macro dialog in UltraEdit&lt;/a&gt; Clicking the &amp;#039;&amp;#039;&amp;#039;Edit macro...&amp;#039;&amp;#039;&amp;#039; item in th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;﻿[[Category:Advanced tab]]&lt;br /&gt;
[[File:UltraEdit edit create macro.png|right|alt=Screenshot of Edit/Create Macro dialog in UltraEdit]]&lt;br /&gt;
Clicking the &amp;#039;&amp;#039;&amp;#039;Edit macro...&amp;#039;&amp;#039;&amp;#039; item in the &amp;quot;Configure&amp;quot; dropdown in the [[:Category:Advanced tab|Advanced tab]] will immediately open the &amp;quot;Edit/create macro dialog.&amp;quot; Here you can modify macros by editing, adding, or removing commands that have been previously generated either here or via macro recording. Defined in its simplest terms, a macro is a series of commands that can be played automatically within the editor. &lt;br /&gt;
&lt;br /&gt;
This dialog contains the following options.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Macro&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
This dropdown contains a list of all loaded macros. Select any macro here to load that macro&amp;#039;s commands in the macro editor so you can modify it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Macro contents&amp;#039;&amp;#039;&amp;#039; (left)&amp;lt;br&amp;gt;&lt;br /&gt;
The large edit space on the left of the dialog containing the commands that make up the macro. Macro commands &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; be one of the predefined, supported commands, which are shown on the right hand side of the dialog. The only exception is for actual text to be input into the file by the macro, which must be encapsulated in quotes. Outside of this, you cannot add any character(s) that do not correspond to a predefined macro command, and doing so will cause an error prompt when attempting save changes to the macro. Commands are not case sensitive but must be spelled &amp;#039;&amp;#039;&amp;#039;exactly&amp;#039;&amp;#039;&amp;#039; as they are in the &amp;quot;Command&amp;quot; list.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Command&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
This is a list of all available commands for macros, sorted alphabetically. You can double-click on an item in this list to insert it into the active macro. To see documentation on all available macro commands, see the [[Macro commands]] topic.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Non-numeric parameters&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Many of the commands in the command list have numeric parameters.  The numeric parameters are quite obvious, such as &amp;lt;code&amp;gt;GotoLine # #&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;GotoPage #&amp;lt;/code&amp;gt;.  However, some of the commands such as find, replace, sort, etc. have parameters that aren&amp;#039;t numeric.  These additional parameters are listed below the command list for easy selection.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Close&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Closes the &amp;quot;Edit/create macro&amp;quot; dialog and prompt you to save any unsaved changes.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;New macro&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Opens the [[Macro definition dialog]] allowing you to create a new macro, define its keyboard shortcut, set some properties, etc. before returning to the &amp;quot;Edit/create macro&amp;quot; dialog to enter its commands. In many cases, it&amp;#039;s easier to generate a macro by recording it with the [[Record macro]] command first, then edit it if necessary. The learning curve is far lesser with this approach.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Modify&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Opens the &amp;quot;Modify macro&amp;quot; dialog allowing you to delete macros, rename macros, and change macros&amp;#039; properties that are originally set in the [[Macro definition dialog]] when first creating a macro. &lt;br /&gt;
&lt;br /&gt;
==Creating a new macro==&lt;br /&gt;
When you create a new macro, three commands are automatically added to the macro:&lt;br /&gt;
 &lt;br /&gt;
# &amp;lt;code&amp;gt;InsertMode&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;OverStrikeMode&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;ColumnModeOn&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ColumnModeOff&amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;HexOn&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;HexOff&amp;lt;/code&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
These three commands are added based on the current state of the editor.  The purpose is to establish a known state each time the macro is played.  If a macro is recorded in one mode and played back in another the results may be unpredictable.  Establishing the mode at the beginning of the macro helps to ensure the expected results are achieved.  These commands may be modified as required.&lt;br /&gt;
 &lt;br /&gt;
Once a macro has been created, you can edit its commands.  Please note, that &amp;lt;code&amp;gt;^c&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;^s&amp;lt;/code&amp;gt; may be used with many macro commands and will be replaced with the contents of the clipboard (^c) and the text currently selected (^s) at runtime.  This allows you to record a macro that may reference a specific string and replace this with one of these two items to allow the string to be dynamically &amp;quot;specified&amp;quot; as the macro is run. More information on how this is useful is available at [https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/dynamic-macros.html this power tip].&lt;br /&gt;
&lt;br /&gt;
Full documentation of all available macro commands and their parameters is available in the [[Macro commands]] topic.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;div class=&amp;quot;idm-see-also&amp;quot;&amp;gt;&lt;br /&gt;
See also: &lt;br /&gt;
* [[Macro commands]]&lt;br /&gt;
* [[Record macro]] &lt;br /&gt;
* [[Quick record macro]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	</feed>