<?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[HOW　BOSS Key feature？]]></title><description><![CDATA[<p dir="auto">need  Global shortcut for hide or show Notepad++ main window，that is boss key.</p>
<p dir="auto">thx.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19750/how-boss-key-feature</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 13:36:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19750.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Jul 2020 14:02:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HOW　BOSS Key feature？ on Sat, 25 Jul 2020 07:38:51 GMT]]></title><description><![CDATA[<p dir="auto">thx all</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a>   windowskey+Number , Very Nice ~~~</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56208</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56208</guid><dc:creator><![CDATA[阿杨Ayang]]></dc:creator><pubDate>Sat, 25 Jul 2020 07:38:51 GMT</pubDate></item><item><title><![CDATA[Reply to HOW　BOSS Key feature？ on Fri, 24 Jul 2020 11:35:44 GMT]]></title><description><![CDATA[<p dir="auto">Translated to python</p>
<pre><code class="language-py">import ctypes
SendMessage = ctypes.WinDLL('user32').SendMessageW
FindWindow = ctypes.WinDLL('user32').FindWindowW
npp_hwnd = FindWindow("Notepad++", None)
SendMessage(npp_hwnd , 0x0112, 0xF020, 0)
</code></pre>
<p dir="auto"><strong>BUT</strong> why not using windows <em><strong>BOSS</strong></em> shortcuts??</p>
<p dir="auto">Assuming you have npp in the taskbar, let’s say in second position, then WindowsKey+2 will either start npp or, if already started, toggle the visibility/focus.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56197</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56197</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 24 Jul 2020 11:35:44 GMT</pubDate></item><item><title><![CDATA[Reply to HOW　BOSS Key feature？ on Thu, 23 Jul 2020 23:53:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E9%98%BF%E6%9D%A8ayang" aria-label="Profile: 阿杨Ayang">@<bdi>阿杨Ayang</bdi></a> ,</p>
<p dir="auto">I’ve never had to hide the fact that I’m editing a text file from my boss.  Just what are you editing that’s so secret? ;-)  (Just kidding: I don’t want to know.)</p>
<p dir="auto">You cannot assign a shortcut command (keystroke) to the minimize button itself.  But if you have a scripting language plugin or equivalent, it can be done by sending the <a href="https://docs.microsoft.com/en-us/windows/win32/menurc/wm-syscommand" rel="nofollow ugc">Windows <code>WM_SYSCOMMAND</code> message</a> with the wparam <code>SC_MINIMIZE</code>.</p>
<p dir="auto">NppExec: <code>npp_sendmsg 0x0112 0xF020 0</code><br />
<a href="https://community.notepad-plus-plus.org/topic/18957/announcing-perl-based-automation-of-notepad">PerlScript</a>: <code>notepad-&gt;SendMessage(0x0112, 0xF020, 0);</code></p>
<p dir="auto">Hmm, I’d forgotten that PythonScript doesn’t have the SendMessage feature directly attached to the notepad and editor objects, and I’m not immediately finding which pre-installed module gives access to the Win32 SendMessage directly.  <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> or another Python expert will have to chime in to get my list of example lines complete.</p>
<p dir="auto">Anyway, if you’re willing to choose one of those routes, install the appropriate plugin or external module; if you need help binding a specific instance to a keystroke, let us know which flavor of scripting you chose, and we can walk you through the next steps.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/56195</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/56195</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 23 Jul 2020 23:53:19 GMT</pubDate></item></channel></rss>