<?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[Adding a plugin command to the toolbar]]></title><description><![CDATA[<p dir="auto">I have a plugin for working with Lua - Lua Script. In the tools menu there is already a plugin command to open the console. I need to add the command “Execute Current File” for faster access to this command. Thanks for the help.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25960/adding-a-plugin-command-to-the-toolbar</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 13:49:49 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25960.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Jul 2024 05:00:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Adding a plugin command to the toolbar on Tue, 23 Jul 2024 13:32:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D0%BD%D0%B5%D0%BB%D0%BE-%D0%B0%D0%BD%D0%B4%D0%B6%D0%B5%D0%BB%D0%BE" aria-label="Profile: Нело-Анджело">@<bdi>Нело-Анджело</bdi></a> ,</p>
<p dir="auto">I guess I’m not sure what you’re asking for.  In Lua Script v0.12, which is the active version, and has been for quite some time, the <strong>Plugins &gt; LuaScript</strong> menu already has an <strong>Execute Current File</strong> command that works.</p>
<p dir="auto"><img src="/assets/uploads/files/1721741267769-79604b8f-d295-4aed-9b5d-8d0f41946501-image.png" alt="79604b8f-d295-4aed-9b5d-8d0f41946501-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You can even use the <strong>Settings &gt; Preferences &gt; Shortcut Mapper &gt; Plugins</strong> to assign a keyboard shortcut to that command, so that you can run it while you are editing the <code>.lua</code> script without using a menu.</p>
<p dir="auto">Since you brought up the “console”, are you saying you want a button <em>in the console panel</em>, which also runs the current command?  As far as I know, there isn’t a way to do that.  If you would like to make a feature request for that, that plugin has an <a href="https://github.com/dail8859/LuaScript/issues" rel="nofollow ugc">issue tracker</a> where you can make feature requests.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95851</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95851</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 23 Jul 2024 13:32:35 GMT</pubDate></item></channel></rss>