<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to interpret the coding of macros?]]></title><description><![CDATA[<p dir="auto">I recorded a macro a few months ago, that does find&amp;replace on several items within text files, now I thought, maybe I could add another find&amp;replace string to the same macro, but 1st I would like to understand or better said, interpret the existing code.</p>
<p dir="auto">And also, unfortunately I didn’t make notes of what characters can the existing macro replace but now I would like to do it but I just don’t understand a few things in the text of the macro.</p>
<p dir="auto">Here is part of the macro, where I numbered each line for easy reference:</p>
<p dir="auto">I’m assuming that the “Trim Trailing and save” macro came with Notepad++, since I don’t recall recording it.</p>
<p dir="auto">The name of my macro is “Subtitle Mod1”</p>
<p dir="auto">I’m asuming that Action type=3 has to do with “find and replace” function</p>
<p dir="auto">The 1st find&amp;replace command starts at line #09 and ends with #15<br />
Basically here I wanted to remove one space after the colon.</p>
<p dir="auto">Could someone explain the meaning and/or function of lines #09, #11, #13, #14, #15?</p>
<p dir="auto">And am I assuming correctly, that if I want to add another find&amp;replace script to this macro, I just have<br />
record a new macro with the new stuff and cut&amp;paste the lines of the new macro into the old one?</p>
<hr />
<h2>01 &lt;NotepadPlus&gt;<br />
02    &lt;InternalCommands /&gt;<br />
03    &lt;Macros&gt;<br />
04        &lt;Macro name=“Trim Trailing and save” Ctrl=“no” Alt=“yes” Shift=“yes” Key=“83”&gt;<br />
05            &lt;Action type=“2” message=“0” wParam=“42024” lParam=“0” sParam=“” /&gt;<br />
06            &lt;Action type=“2” message=“0” wParam=“41006” lParam=“0” sParam=“” /&gt;<br />
07        &lt;/Macro&gt;<br />
08        &lt;Macro name=“Subtitle Mod1” Ctrl=“yes” Alt=“yes” Shift=“no” Key=“53”&gt;<br />
09            &lt;Action type=“3” message=“1700” wParam=“0” lParam=“0” sParam=“” /&gt;<br />
10            &lt;Action type=“3” message=“1601” wParam=“0” lParam=“0” sParam=“: " /&gt;<br />
11            &lt;Action type=“3” message=“1625” wParam=“0” lParam=“0” sParam=”" /&gt;<br />
12            &lt;Action type=“3” message=“1602” wParam=“0” lParam=“0” sParam=“:” /&gt;<br />
13            &lt;Action type=“3” message=“1702” wParam=“0” lParam=“770” sParam=“” /&gt;<br />
14            &lt;Action type=“3” message=“1701” wParam=“0” lParam=“1609” sParam=“” /&gt;<br />
15            &lt;Action type=“0” message=“2178” wParam=“0” lParam=“0” sParam=“” /&gt;<br />
16            &lt;Action type=“3” message=“1700” wParam=“0” lParam=“0” sParam=“” /&gt;<br />
17            &lt;Action type=“3” message=“1601” wParam=“0” lParam=“0” sParam=“-&gt;” /&gt;<br />
18            &lt;Action type=“3” message=“1625” wParam=“0” lParam=“0” sParam=“” /&gt;<br />
19            &lt;Action type=“3” message=“1602” wParam=“0” lParam=“0” sParam=“–&gt;” /&gt;<br />
20            &lt;Action type=“3” message=“1702” wParam=“0” lParam=“770” sParam=“” /&gt;<br />
21            &lt;Action type=“3” message=“1701” wParam=“0” lParam=“1609” sParam=“” /&gt;<br />
22            &lt;Action type=“3” message=“1700” wParam=“0” lParam=“0” sParam=“” /&gt;<br />
23            &lt;Action type=“3” message=“1601” wParam=“0” lParam=“0” sParam=“0.” /&gt;<br />
24            &lt;Action type=“3” message=“1625” wParam=“0” lParam=“0” sParam=“” /&gt;<br />
25            &lt;Action type=“3” message=“1602” wParam=“0” lParam=“0” sParam=“0,” /&gt;<br />
26            &lt;Action type=“3” message=“1702” wParam=“0” lParam=“770” sParam=“” /&gt;<br />
27            &lt;Action type=“3” message=“1701” wParam=“0” lParam=“1609” sParam=“” /&gt;</h2>
]]></description><link>https://community.notepad-plus-plus.org/topic/16874/how-to-interpret-the-coding-of-macros</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 16:49:09 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16874.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Jan 2019 12:34:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to interpret the coding of macros? on Mon, 07 Jan 2019 15:43:27 GMT]]></title><description><![CDATA[<p dir="auto">Alan, Thank You for your answer!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/38128</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/38128</guid><dc:creator><![CDATA[GezaShad]]></dc:creator><pubDate>Mon, 07 Jan 2019 15:43:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to interpret the coding of macros? on Fri, 04 Jan 2019 13:30:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gezashad" aria-label="Profile: GezaShad">@<bdi>GezaShad</bdi></a> said:</p>
<blockquote>
<p dir="auto">I’m assuming that the “Trim Trailing and save” macro came with Notepad++</p>
</blockquote>
<p dir="auto">Very true.</p>
<p dir="auto">For the rest, I think this link will be of enormous enlightenment for you:<br />
<a href="http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#Search_.2F_Replace_encoding" rel="nofollow ugc">http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#Search_.2F_Replace_encoding</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/38003</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/38003</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 04 Jan 2019 13:30:58 GMT</pubDate></item></channel></rss>