<?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[Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro]]></title><description><![CDATA[<p dir="auto">Can we use “Copy Bookmarked Line” and “Paste in ReplaceWith” field in Macro</p>
<p dir="auto">Could anyone please advice whether in Macro, “Copy Bookmarked Line” can be used and then its value can be used by Pasting in ReplaceWith" field.</p>
<p dir="auto">As in recorded macro, its showing the value used at the time of recording and not having the “Copy Bookmarked Line” command and Paste in ReplaceWith filed also.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19724/can-we-use-copy-bookmarked-line-and-paste-in-replacewith-field-in-macro</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 04:19:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19724.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Jul 2020 18:18:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro on Mon, 20 Jul 2020 21:03:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said in <a href="/post/56099">Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro</a>:</p>
<blockquote>
<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/b-sethi24" aria-label="Profile: b-sethi24">@<bdi>b-sethi24</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Strange</strong> ! <strong>No</strong> answer regarding my <strong>assertion</strong> / <strong>question</strong> !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
</blockquote>
<p dir="auto">I think you may have understood the original question differently than <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> did.  I made a similar interpretation at first, until I tried to figure out why Alan thought it wasn’t doable, when I original did.  Re-reading the original post, I determined the key point was “Pasting in ReplaceWith field”.</p>
<p dir="auto">At first, like you, I thought <a class="plugin-mentions-user plugin-mentions-a" href="/user/b-sethi24" aria-label="Profile: B-Sethi24">@<bdi>B-Sethi24</bdi></a> just wanted to paste the bookmarked lines in the document – in which case, the macro you showed would work.</p>
<p dir="auto">But if they really want to paste it into the REPLACE WITH field, with all the options available in the dialog box (including regex processing on the REPLACE WITH value), that cannot be done.  (For example, if the line <code>${1} to ${10}</code> were bookmarked, and they wanted to use that as the REPLACE WITH in a regex replacement.)</p>
<p dir="auto">Since <a class="plugin-mentions-user plugin-mentions-a" href="/user/b-sethi24" aria-label="Profile: B-Sethi24">@<bdi>B-Sethi24</bdi></a> hasn’t come back since, I doubt we’ll get clarification anytime soon.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56117</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56117</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 20 Jul 2020 21:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro on Mon, 20 Jul 2020 11:15:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/b-sethi24" aria-label="Profile: b-sethi24">@<bdi>b-sethi24</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Strange</strong> ! <strong>No</strong> answer regarding my <strong>assertion</strong> / <strong>question</strong> !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56099</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56099</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 20 Jul 2020 11:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro on Sat, 18 Jul 2020 10:33:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/b-sethi24" aria-label="Profile: b-sethi24">@<bdi>b-sethi24</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">May be, there is something that I’m <strong>missing</strong>, but, with N++ version <strong><code>7.8.8</code></strong>, and the following <strong><code>XML</code></strong> code, <strong>inserted</strong> in the <strong><code>Macros</code></strong> node of the <strong><code>shortcut.xml</code></strong> <strong>configuration</strong> file, it works quite <strong>nice</strong> ! ?</p>
<pre><code class="language-xml">        &lt;Macro name="Copy BOOKMARKED lines in NEW file" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
            &lt;Action type="2" message="0" wParam="43019" lParam="0" sParam="" /&gt;   &lt;!-- Copy Bookmarked Lines --&gt;
            &lt;Action type="2" message="0" wParam="41001" lParam="0" sParam="" /&gt;   &lt;!-- New                   --&gt;
            &lt;Action type="0" message="2179" wParam="0" lParam="0" sParam="" /&gt;    &lt;!-- Paste                 --&gt;
        &lt;/Macro&gt;
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56024</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56024</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 18 Jul 2020 10:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro on Fri, 17 Jul 2020 18:23:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/b-sethi24" aria-label="Profile: B-Sethi24">@<bdi>B-Sethi24</bdi></a> said in <a href="/post/56013">Can we use "Copy Bookmarked Line" and "Paste in ReplaceWith" field in Macro</a>:</p>
<blockquote>
<p dir="auto">Can we use “Copy Bookmarked Line” and “Paste in ReplaceWith” field in Macro</p>
</blockquote>
<p dir="auto">Nope.</p>
<blockquote>
<p dir="auto">in recorded macro, its showing the value used at the time of recording</p>
</blockquote>
<p dir="auto">Correct.<br />
For good or ill, that’s how it is designed.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56015</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56015</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 17 Jul 2020 18:23:57 GMT</pubDate></item></channel></rss>