<?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[Opening Notepad++ in Post-It mode]]></title><description><![CDATA[<p dir="auto">I’m trying to create a shortcut that will open a file in NP++ at specific coordinates, with the title bar, status bar, line numbers, etc. all hidden.</p>
<p dir="auto">Is there a way to make the Post-It mode (F12) persist between sessions (via <code>config.xml</code>) or, alternatively, open NP++ in Post-It mode via command line? I can see <a href="https://npp-user-manual.org/docs/command-prompt/" rel="nofollow ugc">here</a> there’s an <code>-alwaysOnTop</code> flag, but I don’t see one for Post-It mode.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23507/opening-notepad-in-post-it-mode</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 14:16:44 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23507.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Sep 2022 17:29:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Opening Notepad++ in Post-It mode on Thu, 22 Sep 2022 17:18:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> Thanks, I’ve managed to make this work with my use case. In case anyone’s interested, this is roughly what I’m doing (AHK code):</p>
<pre><code>fileOpen := false
^+b::
if not fileOpen {
	fileOpen := true
	FileCopy, Backup\Notepad++\config (PostIt).xml, %A_AppData%\Notepad++\config.xml, 1
	FileCopy, Backup\Notepad++\NppExec (PostIt).ini, %A_AppData%\Notepad++\plugins\config\NppExec.ini, 1
	Run, "C:\Program Files\Notepad++\notepad++.exe" "C:\Path\To\PostIt\File.txt"
} else {
	fileOpen := false
	FileCopy, Backup\Notepad++\config.xml, %A_AppData%\Notepad++\config.xml, 1
	FileDelete, %A_AppData%\Notepad++\plugins\config\NppExec.ini
}
return
</code></pre>
<p dir="auto">The <code>config (PostIt).xml</code> is the file with my PostIt NP++ configuration (i.e., no title bars, line numbers, etc.) and <code>config.xml</code> is my usual NP++ configuration. The <code>NppExec (PostIt).ini</code> file is the configuration file for the NppExec plugin, which launches a script on startup that contains the following:</p>
<pre><code>NPP_CONSOLE 0
NPP_MENUCOMMAND "View\Post-It"
</code></pre>
<p dir="auto">This now seems to work as I want it. Thank you both for the help.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79985</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79985</guid><dc:creator><![CDATA[Matej Vitek]]></dc:creator><pubDate>Thu, 22 Sep 2022 17:18:07 GMT</pubDate></item><item><title><![CDATA[Reply to Opening Notepad++ in Post-It mode on Wed, 21 Sep 2022 19:33:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/79948">Opening Notepad++ in Post-It mode</a>:</p>
<blockquote>
<p dir="auto">You may be able to do something similar with the NppExec plugin; I wouldn’t know the details on that.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matej-vitek" aria-label="Profile: Matej-Vitek">@<bdi>Matej-Vitek</bdi></a></p>
<p dir="auto">For <a href="https://github.com/d0vgan/nppexec" rel="nofollow ugc">NppExec</a>, put the following in your startup script (Plugins =&gt; NppExec =&gt; Advanced Options… =&gt; “Execute this script when Notepad++ starts”):</p>
<pre><code>NPP_MENUCOMMAND "View\Post-It"
</code></pre>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79949</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79949</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 21 Sep 2022 19:33:56 GMT</pubDate></item><item><title><![CDATA[Reply to Opening Notepad++ in Post-It mode on Wed, 21 Sep 2022 18:53:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matej-vitek" aria-label="Profile: Matej-Vitek">@<bdi>Matej-Vitek</bdi></a></p>
<p dir="auto">I don’t think Notepad++ supports opening in Post-It mode directly, and as you’ve observed, that mode isn’t persistent between runs.</p>
<p dir="auto">You might have luck using a scripting plugin (e.g. PythonScript) and having a startup script that executes the Post-It command, e.g. <code>notepad.menuCommand(MENUCOMMAND.VIEW_POSTIT)</code>.</p>
<p dir="auto">You may be able to do something similar with the NppExec plugin; I wouldn’t know the details on that.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79948</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79948</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 21 Sep 2022 18:53:24 GMT</pubDate></item></channel></rss>