<?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[Who &quot;broke&quot; my macro??]]></title><description><![CDATA[<p dir="auto">For years now, I have a little macro that allows me to convert an SQL command to a Visual Basic multiline string and it worked beautifully!  The keystroke sequence was</p>
<ol>
<li>Home</li>
<li>Home</li>
<li>"</li>
<li>End</li>
<li>" &amp; vbcrlf &amp; _</li>
<li>Down Arrow</li>
</ol>
<p dir="auto">I would position the cursor at the top and then run to end of file.</p>
<p dir="auto">&lt;code&gt;<br />
If I position my cursor on a line:<br />
FROM database.dbo.table<br />
with the current version of Notepad++,  instead of getting the expected:<br />
“FROM database.dbo.table” &amp; vbcrlf &amp; _<br />
I get<br />
"“FROM datavase.dbo.table” &amp; vbcrlf &amp; _ [vbcrlf               ]<br />
.                                                                            [vbClientBasic]<br />
and the macro STOPS!<br />
&lt;/code&gt;</p>
<p dir="auto">How do I turn off this new “feature” and get back my desired behavior??</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/11972/who-broke-my-macro</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 14:59:00 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/11972.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jun 2016 19:31:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Who &quot;broke&quot; my macro?? on Fri, 24 Jun 2016 22:57:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/5489">@Jalapeno-Bob</a></p>
<p dir="auto">the problem happens because of the autocompletion function.<br />
You either can disable it or change your macro with one additional line<br />
(should be placed as second to last line</p>
<pre><code>&lt;Action type="0" message="2325" wParam="0" lParam="0" sParam="" /&gt;
</code></pre>
<p dir="auto">which basically means you would press Esc before Arrow down.</p>
<pre><code>&lt;Macro name="SQL quoting for VB" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
    &lt;Action type="0" message="2453" wParam="0" lParam="0" sParam="" /&gt;
    &lt;Action type="0" message="2453" wParam="0" lParam="0" sParam="" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam='&amp;quot;' /&gt;
    &lt;Action type="0" message="2306" wParam="0" lParam="0" sParam="" /&gt;
    &lt;Action type="0" message="2451" wParam="0" lParam="0" sParam="" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam='&amp;quot;' /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="&amp;amp;" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="v" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="b" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="c" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="r" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="l" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="f" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="&amp;amp;" /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
    &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="_" /&gt;
    &lt;Action type="0" message="2325" wParam="0" lParam="0" sParam="" /&gt;        
    &lt;Action type="0" message="2300" wParam="0" lParam="0" sParam="" /&gt;
&lt;/Macro&gt;
</code></pre>
<p dir="auto">This should do the trick</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16550</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16550</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Fri, 24 Jun 2016 22:57:21 GMT</pubDate></item><item><title><![CDATA[Reply to Who &quot;broke&quot; my macro?? on Thu, 23 Jun 2016 18:32:39 GMT]]></title><description><![CDATA[<p dir="auto">The steps of my macro are in shortcuts.xml:</p>
<pre><code>    &lt;Macro name="SQL quoting for VB" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
        &lt;Action type="0" message="2453" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="0" message="2453" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam='&amp;quot;' /&gt;
        &lt;Action type="0" message="2306" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="0" message="2451" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam='&amp;quot;' /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="&amp;amp;" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="v" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="b" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="c" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="r" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="l" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="f" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="&amp;amp;" /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /&gt;
        &lt;Action type="1" message="2170" wParam="0" lParam="0" sParam="_" /&gt;
        &lt;Action type="0" message="2300" wParam="0" lParam="0" sParam="" /&gt;
    &lt;/Macro&gt;
</code></pre>
<p dir="auto">It is when I try to use this macro that a little box appears, apparently questioning my action, that stops the repeated execution of the macro.  Notepad++ thinks it knows what I want better than I do!  How do I turn this off and allow the macro to repeat until the end of file?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16536</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16536</guid><dc:creator><![CDATA[Jalapeno Bob]]></dc:creator><pubDate>Thu, 23 Jun 2016 18:32:39 GMT</pubDate></item><item><title><![CDATA[Reply to Who &quot;broke&quot; my macro?? on Thu, 16 Jun 2016 22:17:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/5489">@Jalapeno-Bob</a></p>
<p dir="auto">don’t know who broke it but did you check shortcuts.xml?<br />
It has a macro section which should have the steps of your macro.</p>
<p dir="auto">If you can’t figure out how to revert the changes, post the macro.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16418</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16418</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 16 Jun 2016 22:17:58 GMT</pubDate></item></channel></rss>