<?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[Macros Keep Erasing]]></title><description><![CDATA[<p dir="auto">Ok, so I have never had a problem editing my macros file with regular notepad.exe from windows.  I normally goto the directory under appdata\users\ etc  and right click the shortcuts.xml file and open with notepad.exe when I have notepad++ closed of course.  Well, I right-clicked the file and opened it with notepad++ in error.  Did nothing to the file.  Just closed the program.  Restarted it and my macros are all gone, Completely.</p>
<p dir="auto">I have tried everything under the sun to restore them.  I have always kept a backup file in other directorys in case this ever happened.</p>
<p dir="auto">I have tried uninstalling program, changing versions, changing registry data that points to anything related to notepad++</p>
<p dir="auto">Still Nothing works.  Everytime I change the file, the macros reset to none.  I could start over, but I have many macros that I use on a daily basis.</p>
<p dir="auto">Any help would be appreciated</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13717/macros-keep-erasing</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 02:19:08 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13717.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Apr 2017 09:32:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 11:59:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelbow" aria-label="Profile: Joelbow">@<bdi>Joelbow</bdi></a></p>
<p dir="auto">It’s great that your problem is solved, but if you’d provide more detail on the “special characters” in your macro that caused it to crash, we could think about it further, and maybe learn something we didn’t already know.</p>
<p dir="auto">shortcuts.xml can be edited with Notepad++ as long as you don’t use the Shortcut Mapper functionality to change a shortcut key assignment at the same time (during the same run) as you make other (manual) edits to the file.  If you make manual edits AND also use the Shortcut Mapper to make a change during the same run, Notepad++ will (in order to update the key-combo change), write out a new complete copy of shortcuts.xml from what is currently in memory–which will not include any manual edits to the file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23831</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23831</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 24 Apr 2017 11:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 11:56:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelbow" aria-label="Profile: Joelbow">@<bdi>Joelbow</bdi></a></p>
<p dir="auto">good to see that you managed it.</p>
<blockquote>
<p dir="auto">BTW I thought you couldn’t edit the shortcuts.xml file directly while having npp up and running. Am I wrong?</p>
</blockquote>
<p dir="auto">Not really, it depends which part you modify. Npp saves configuration data when shutting down,<br />
macros aren’t part of it.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23830</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23830</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 24 Apr 2017 11:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 11:49:08 GMT]]></title><description><![CDATA[<p dir="auto">Ok, well I found the recent macro that I added that was causing all the macros to erase.  It may have had some special characters in it causing the macros to crash.  That being said, I erased that macro and the rest of them are back up and working.  Thanks for helping me out.  I have been working on this for days.  Even did a system restore etc… and was stumped.  I just decided to delete them one at a time.  BTW I thought you couldn’t edit the shortcuts.xml file directly while having npp up and running.  Am I wrong?  Thanks, cheers. Joel.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23829</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23829</guid><dc:creator><![CDATA[Joelbow]]></dc:creator><pubDate>Mon, 24 Apr 2017 11:49:08 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 11:41:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelbow" aria-label="Profile: Joelbow">@<bdi>Joelbow</bdi></a></p>
<p dir="auto">If you open %APPDATA%\notepad++\shortcuts.xml,<br />
you should see at least one entry in macros section</p>
<pre><code>    &lt;Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83"&gt;
        &lt;Action type="2" message="0" wParam="42024" lParam="0" sParam="" /&gt;
        &lt;Action type="2" message="0" wParam="41006" lParam="0" sParam="" /&gt;
    &lt;/Macro&gt;
</code></pre>
<p dir="auto">this is the default one which is available after a new install.</p>
<p dir="auto">Could you just try to duplicate this entry and give it a different name like</p>
<pre><code>    &lt;Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83"&gt;
        &lt;Action type="2" message="0" wParam="42024" lParam="0" sParam="" /&gt;
        &lt;Action type="2" message="0" wParam="41006" lParam="0" sParam="" /&gt;
    &lt;/Macro&gt;
    &lt;Macro name="Trim Trailing and save2" Ctrl="no" Alt="yes" Shift="yes" Key="83"&gt;
        &lt;Action type="2" message="0" wParam="42024" lParam="0" sParam="" /&gt;
        &lt;Action type="2" message="0" wParam="41006" lParam="0" sParam="" /&gt;
    &lt;/Macro&gt;
</code></pre>
<p dir="auto">Save the file - restart npp.<br />
Btw. you can edit <strong>macros</strong>  within npp.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23828</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23828</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 24 Apr 2017 11:41:46 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 11:23:06 GMT]]></title><description><![CDATA[<p dir="auto">Notepad++ v7.3.3   (64-bit)<br />
Build time : Mar  8 2017 - 03:39:58<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS : Windows 8.1 (64-bit)<br />
Plugins : mimeTools.dll NppConverter.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23826</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23826</guid><dc:creator><![CDATA[Joelbow]]></dc:creator><pubDate>Mon, 24 Apr 2017 11:23:06 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 11:01:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelbow" aria-label="Profile: Joelbow">@<bdi>Joelbow</bdi></a></p>
<p dir="auto">Can be found under ? menu.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23824</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23824</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 24 Apr 2017 11:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 10:59:59 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your response Claudia, where do I begin to do that in Notepad++?  Windows 8.1</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23823</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23823</guid><dc:creator><![CDATA[Joelbow]]></dc:creator><pubDate>Mon, 24 Apr 2017 10:59:59 GMT</pubDate></item><item><title><![CDATA[Reply to Macros Keep Erasing on Mon, 24 Apr 2017 10:51:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelbow" aria-label="Profile: Joelbow">@<bdi>Joelbow</bdi></a><br />
please post your debug-info.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23819</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23819</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 24 Apr 2017 10:51:23 GMT</pubDate></item></channel></rss>