<?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[Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s]]></title><description><![CDATA[<p dir="auto">Hey community,</p>
<p dir="auto">editing a given file sometimes requires elevated permissions due to the file’s protected location (e. g. C:\Program Files\Notepad++\change.log) and N++ can handle this, of course.</p>
<p dir="auto">But IMHO, there’s a small, yet important, downside with the current implementation: all editing done <em>prior</em> to confirming the launch in Administrator mode is simply lost.<br />
The reason behind is that N++'s newly created <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/NppIO.cpp#L550" rel="nofollow ugc">admin-instance opens the file once again</a> instead of reading edited contents from the “parent” instance.</p>
<p dir="auto">Installing <a href="https://sourceforge.net/p/nppsaveasadmin/code/HEAD/tree/" rel="nofollow ugc">SaveAsAdmin plugin</a> solved this before N++ x64 launched.<br />
And I tried my best to get the plugin working with on x64, but I don’t understand C++ good enough to succeed.</p>
<p dir="auto">From what I do understand, SaveAsAdmin seems to <a href="https://sourceforge.net/p/nppsaveasadmin/code/HEAD/tree/trunk/NppSaveAsAdmin/AdminAccess.cpp#l61" rel="nofollow ugc">launch a non-windowed “sub-program”</a>, pass in edited contents via pipe and the sub-program (with elevated permissions for itself) then writes the file’s contents to disk.</p>
<p dir="auto">So, can N++ kind of incorporate SaveAsAdmin’s way of dealing with such files? Maybe by passing the contents to the admin-instance, too?</p>
<p dir="auto">Any help would be greatly appreciated!</p>
<p dir="auto">Kind regards,<br />
Martin</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15150/incorporating-saveasadmin-s-handling-into-n-s</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 18:05:10 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15150.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jan 2018 16:32:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Tue, 30 Jan 2018 18:11:47 GMT]]></title><description><![CDATA[<p dir="auto">Available now with <a href="https://github.com/bruderstein/npp-plugins-x64/commit/516deb6cbb5d63910fdd18d33af82ccce92d4319" rel="nofollow ugc">https://github.com/bruderstein/npp-plugins-x64/commit/516deb6cbb5d63910fdd18d33af82ccce92d4319</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/29891</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29891</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Tue, 30 Jan 2018 18:11:47 GMT</pubDate></item><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Tue, 30 Jan 2018 08:16:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chcg" aria-label="Profile: chcg">@<bdi>chcg</bdi></a>, while I disagree regarding functional change as support for x64 is introduced, I’m also deeply thankful for your rebuilt.</p>
<p dir="auto">Hence, I’ll consider this solved and would love to see it available in plugin manager(s) for x64 soon. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29863</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29863</guid><dc:creator><![CDATA[Eagle3386]]></dc:creator><pubDate>Tue, 30 Jan 2018 08:16:39 GMT</pubDate></item><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Sun, 28 Jan 2018 19:46:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eagle3386" aria-label="Profile: Eagle3386">@<bdi>Eagle3386</bdi></a> The dll version is still 1.0.0.3. As this is just a rebuild without any functional change and I’m not planning to extend or further modify it. So keeping it as is for now.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29806</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29806</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Sun, 28 Jan 2018 19:46:42 GMT</pubDate></item><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Sun, 28 Jan 2018 14:19:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a>, thanks for helping me overcoming the “penalty”! ☺️</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29805</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29805</guid><dc:creator><![CDATA[Eagle3386]]></dc:creator><pubDate>Sun, 28 Jan 2018 14:19:48 GMT</pubDate></item><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Sun, 28 Jan 2018 13:50:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/donho" aria-label="Profile: donho">@<bdi>donho</bdi></a> since the resulting NppAdminAccess.exe is (and can) not be signed with N++'s official certificate, I’d like to know if you can incorporate <a class="plugin-mentions-user plugin-mentions-a" href="/user/chcg" aria-label="Profile: chcg">@<bdi>chcg</bdi></a>’s provided code in order to have less technical educated N++ users getting a “valid” UAC prompt from Windows instead of the yellow “do you really trust this app” one.</p>
<p dir="auto">@all: what do I need to do to receive the 2nd reputation point in order to not be forced to wait 20 minutes between each reply anymore?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29804</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29804</guid><dc:creator><![CDATA[Eagle3386]]></dc:creator><pubDate>Sun, 28 Jan 2018 13:50:33 GMT</pubDate></item><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Sun, 28 Jan 2018 13:21:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chcg" aria-label="Profile: chcg">@<bdi>chcg</bdi></a>, awesome work - thanks mate! 👍</p>
<p dir="auto">Some suggestions, though:</p>
<ul>
<li>either keep the <a href="https://docs.microsoft.com/en-us/dotnet/api/system.version" rel="nofollow ugc">4-digit versioning scheme</a> known from the .NET framework, i. e. change it to “1.0.0.4” or maybe even “1.0.1.0” due to the added build of a x64 version or switch to (IMHO better) <a href="https://semver.org/" rel="nofollow ugc">semantic versioning</a>, i. e. release it as version “1.1.0”</li>
<li>add yourself as a author within the about dialog and credits as “credit where credit is due” :)</li>
<li>change the version display of “a,b,c,d” to the common “a.b.c.d”</li>
</ul>
<p dir="auto">If you want, I’d happily fork it on GH and provide you with a PR - just drop me short line. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29803</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29803</guid><dc:creator><![CDATA[Eagle3386]]></dc:creator><pubDate>Sun, 28 Jan 2018 13:21:30 GMT</pubDate></item><item><title><![CDATA[Reply to Incorporating SaveAsAdmin&#x27;s handling into N++&#x27;s on Fri, 26 Jan 2018 20:34:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eagle3386" aria-label="Profile: Eagle3386">@<bdi>Eagle3386</bdi></a> You may want to test this <a href="https://github.com/chcg/nppSaveAsAdmin/releases/tag/1.0.0.3.9" rel="nofollow ugc">https://github.com/chcg/nppSaveAsAdmin/releases/tag/1.0.0.3.9</a>. Just a rebuild of the sourceforge repo with adaptations to x64. I will also add it to the x64 pluginManager list, if it is working fine for you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29773</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29773</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Fri, 26 Jan 2018 20:34:33 GMT</pubDate></item></channel></rss>