<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Activity for Notepad++ Python Script</title><link>https://sourceforge.net/p/npppythonscript/activity/</link><description>Recent activity for Notepad++ Python Script</description><language>en</language><lastBuildDate>Thu, 26 Mar 2026 06:09:39 -0000</lastBuildDate><item><title>First Last posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d870e9d6de/?limit=25#39e4</link><description>thanks for the hint Sasumner! will do ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">First Last</dc:creator><pubDate>Thu, 26 Mar 2026 06:09:39 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d870e9d6de/?limit=25#39e4</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d870e9d6de/?limit=250#c370/8e3a</link><description>There will be more people to view your question and possibly help if you post it here: https://community.notepad-plus-plus.org/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Wed, 25 Mar 2026 11:05:08 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d870e9d6de/?limit=250#c370/8e3a</guid></item><item><title>First Last posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d870e9d6de/?limit=25#c370</link><description>Hi I'm new to PS, but find it very handy to create (and update) automations in npp :) I'm having issues creating new scripts ... which was "type of working" before. Clicking on: =&gt; Plugins =&gt; Python Script =&gt; New Script this opens the file selector in the folder .\plugins\config\PythonScript\scripts after creating some random file, it does neither show up under =&gt; Plugins =&gt; Python Script =&gt; Scripts nor =&gt; Plugins =&gt; Python Script =&gt; Configuration ... ... even after restarting npp Do I miss any step...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">First Last</dc:creator><pubDate>Tue, 24 Mar 2026 11:14:53 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d870e9d6de/?limit=25#c370</guid></item><item><title>Dave W. posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/2d6fe8f635/?limit=25#6c32</link><description>Dang. Cool! 👍😄</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave W.</dc:creator><pubDate>Fri, 20 Mar 2026 00:12:39 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/2d6fe8f635/?limit=25#6c32</guid></item><item><title>John M posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/2d6fe8f635/?limit=25#c5cf</link><description>https://github.com/john-a-m/NPP_NER_Labeller it has at least one minor bug with where sometimes it doesn't apply a color, it works though. Let me know what you think (love or hate).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John M</dc:creator><pubDate>Thu, 19 Mar 2026 23:41:40 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/2d6fe8f635/?limit=25#c5cf</guid></item><item><title>Dave W. posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#984c</link><description>And the GitHub page looks to be in pretty good shape as well... maybe even better. It's been updated recently. https://github.com/bruderstein/PythonScript/tree/master/docs/source</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave W.</dc:creator><pubDate>Mon, 07 Jul 2025 14:45:41 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#984c</guid></item><item><title>Dave W. modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#a36c</link><description>Wow, that's a really old link. Haven't seen that page in years. Cool. 😊 Go to https://sourceforge.net/projects/npppythonscript/ , click "Files", click the "Python Script 1.0.8.0" link, then click the PythonScript_Full_1.0.8.0.zip link to download it, unzip it, and use the /plugins/doc/PythonScript/PythonScript.chm file.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave W.</dc:creator><pubDate>Mon, 07 Jul 2025 14:32:51 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#a36c</guid></item><item><title>Dave W. posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#a36c</link><description>Wow, that's a really old link. Haven't seen that page in years. Cool. 😊 Go to https://sourceforge.net/projects/npppythonscript/ , click "Files", click the "Python Script 1.0.8.0" link, then click the PythonScript_Full_1.0.8.0.zip link to download it, unzip it, and use the /plugins/doc/PythonScript.chm file.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave W.</dc:creator><pubDate>Mon, 07 Jul 2025 14:28:23 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#a36c</guid></item><item><title>Yakov posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#38c1</link><description>Currently, the link https://npppythonscript.sourceforge.net/docs/latest/ (used both in the menu and on the landing page) gives me 404, am I doing something wrong, or it's broken?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yakov</dc:creator><pubDate>Mon, 07 Jul 2025 08:27:38 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/56b1bffd8b/?limit=25#38c1</guid></item><item><title>VTGroup posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=25#3d01</link><description>I found this discussion because I'm having the same issues. Either (1) the button looks like I want it to and has the right label but is always at the end, or (2) the button looks like I want it to and resides where I want it to but says "Python Script 1" when I hover over it. Maybe the onhover label could be the script name?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">VTGroup</dc:creator><pubDate>Wed, 21 May 2025 20:35:24 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=25#3d01</guid></item><item><title>Sasumner posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=250#add1/16cf</link><description>"you cannot make application modal windows in Notepad++" --&gt; This is NOT true. "please correct me and show how" --&gt; I'm not going to show you how with Tcl/Tk, because I don't like and don't use it. The capability can be easily demonstrated with this little UI toolkit that a PythonScript user created: https://community.notepad-plus-plus.org/topic/24389 Suggest you check that out and if you have further questions, post to the community site and someone there will help you out.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sun, 09 Jun 2024 10:06:50 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=250#add1/16cf</guid></item><item><title>Karel A posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=25#add1</link><description>The problem with Pythonscript is that you cannot make application modal windows in Notepad++ with Tcl/Tk (or any other GUI framework, as far as I know...), i.e. a window that stays on top within Notepad++, until the user closes it. You can make a system modal window, but not an application modal window. This is a rather severe limitation for Python scripts, as you mostly want the user to be able to interact with the script through a graphical user interface (a listbox or whatever). If I am wrong,...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karel A</dc:creator><pubDate>Fri, 07 Jun 2024 18:57:18 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=25#add1</guid></item><item><title>Jun Wang posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d8a51e7202/?limit=25#bd4a</link><description>How to loop through a list of strings strs and Find all in current document for each string and show the results in the result panel via python?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jun Wang</dc:creator><pubDate>Sun, 26 Nov 2023 09:18:03 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/d8a51e7202/?limit=25#bd4a</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. However on closer inspection the problem lied in a patched 'sys.path' in MY now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Wed, 01 Feb 2023 23:32:32 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. However on closer inspection the problem lied in a patched 'sys.path' in my now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module) (As a side comment, I note that the new PythonScript Plugin no longer list...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Tue, 24 Jan 2023 22:40:21 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. However on closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Tue, 24 Jan 2023 22:15:53 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. On closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python27\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Tue, 24 Jan 2023 22:05:13 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for the (prompt) response. On closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Tue, 24 Jan 2023 22:04:45 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>At first sight, NPP 8.4.8 with PythonScript2.0 apparently did the trick! (One only needed to install the missing unidecode module). Thanks a lot for (prompt) response. On closer inspection the problem lied in a patched 'sys.path' of my now OLD custom startup.py which resulted in missing python\DLLs folder in the path... (this was meant to circumvent the error thrown by PythonScript when it imported pygtk module)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Tue, 24 Jan 2023 22:03:34 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Kadner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</link><description>NPP 8.4.8 with PythonScript2.0 did the trick! (Only needed to install unidecode module) Thanks a lot for (prompt) response.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Tue, 24 Jan 2023 20:22:31 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#9fad/7893</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=250#9fad</link><description>The first thing I would do would be to update to the latest 64-bit N++ and PythonScript 2.0.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Tue, 24 Jan 2023 11:46:55 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=250#9fad</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 22:10:40 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 22:04:09 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 21:55:32 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 21:53:58 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 21:48:59 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Kadner modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 21:31:15 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Kadner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</link><description>Running Npp 8.2.1. 64b Installed Plugin PythonScript 1.5.4.0 Problems trying to run supplied " ...\Scripts\Samples\sorter.py" script Fixed "from unidecode import unidecode" module not found error by copying extracted folder from package in " ...\lib " folder Now stuck with error showing in console: File "C:\Users\admin\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Sorter.py", line 8, in &lt;module&gt; import Tkinter as tk File "C:\Program Files\Notepad++\plugins\PythonScript\lib\lib-tk\Tkinter.py",...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Mon, 23 Jan 2023 21:27:14 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/64b33c7783/?limit=25#277e</guid></item><item><title>Sasumner posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=250#b1d0/da2e</link><description>You could use Tk that comes with a full install of PythonScript. (I never liked Tk) I suppose you could use Windows low-level API for creating/managing windows, but that sounds, well, exhausting. I make do with the "prompt" function; here's an example: https://community.notepad-plus-plus.org/post/28702</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Fri, 30 Sep 2022 11:51:21 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=250#b1d0/da2e</guid></item><item><title>Michael Warwick posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=25#b1d0</link><description>I'm liking having Python in Npp and have a couple of working scripts that are helping with my work, one of them would be even better if I could get a few inputs, (about 5 yes/no inputs and a couple of text items) so I'd like to pop up a dialog. The message box and inputs are not quite enough, I'm looking for an example script that puts up a dialog with a few inputs and then uses those values.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Warwick</dc:creator><pubDate>Fri, 30 Sep 2022 03:04:02 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/bef8e0c659/?limit=25#b1d0</guid></item><item><title>Sasumner posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=250#6b22/3afc/8c1c/4aff</link><description>No idea. You can always open an issue about it here: https://github.com/bruderstein/PythonScript/issues I use CT without problem, but I always put my script icons to the right end of the toolbar anyway (it is where I want them so I've never tried anything else).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Thu, 29 Sep 2022 11:45:20 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=250#6b22/3afc/8c1c/4aff</guid></item><item><title>kiwichick posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=25#6b22/3afc/8c1c</link><description>Yes I did initially use CT, but I ran into a problem. Whenever I use the CT button, the next time I start Npp, the button has moved to the end of the toolbar. I've checked on a clean install of Npp with only CT and PS installed and it still does it. So I decided to check out the PS method. However, I think I'd rather have a button I know the name of than worry about its placement on the toolbar so I'll stick with the CT one. Do you know if there's likely to be a fix for the name issue with PS bu...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kiwichick</dc:creator><pubDate>Thu, 29 Sep 2022 01:11:26 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=25#6b22/3afc/8c1c</guid></item><item><title>Sasumner posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=250#6b22/3afc</link><description>Yea, it's a known issue. You can get better results if you use the CustomizeToolbar plugin and set up the button that way.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Tue, 27 Sep 2022 11:51:50 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=250#6b22/3afc</guid></item><item><title>kiwichick posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=25#6b22</link><description>When adding a script to the toolbar then hovering over the toolbar button, why isn't the script name shown? Instead it just says "Python Script" followed by a number. I find this very un-user-frirendly.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kiwichick</dc:creator><pubDate>Tue, 27 Sep 2022 00:52:53 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/14ffcbb5c5/?limit=25#6b22</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/93355bff33/?limit=250#888f</link><description>Post this question here and you'll get some good responses: https://community.notepad-plus-plus.org/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sat, 16 Apr 2022 11:00:29 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/93355bff33/?limit=250#888f</guid></item><item><title>John Doe posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/93355bff33/?limit=25#540f</link><description>Hello everyone! I am working on a Script and would like to know if it is possible to add some kind of loading screen functionality. My script manipulates large files and it takes a few seconds to see the changes after running it. Is there any way I can add in a loading screen that terminates when the script has completed running? That way the user has a clearer picture of when the script actually finished executing. Any help would be greatly appreciated, thanks a bunch!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Doe</dc:creator><pubDate>Fri, 15 Apr 2022 15:50:11 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/93355bff33/?limit=25#540f</guid></item><item><title>Kadner modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</link><description>Updated 2022/03/31 Moved python-code in separate downloadable file. Precious code indentation and lines were missing on earlier version of post due to errors in formatting ... Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Thu, 31 Mar 2022 17:03:18 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</guid></item><item><title>Kadner modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</link><description>Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Thu, 31 Mar 2022 16:49:28 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</guid></item><item><title>Kadner modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</link><description>Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Thu, 31 Mar 2022 14:58:09 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</guid></item><item><title>Kadner modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</link><description>Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Thu, 31 Mar 2022 14:57:10 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</guid></item><item><title>Kadner modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</link><description>Updated 2022/03/31 Moved python-code in separate downloadable file as indentation is lost when copying to post Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. filename : Swap_Items.py Thank...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Wed, 30 Mar 2022 22:51:01 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</guid></item><item><title>Kadner modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</link><description>Updated 2015/04/21 Made code cleaner. Expanded to include all possible matching bracket pairs. Included 2-selections concept from Davey https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/4691495a/#d4a9 . I thought I would share this code as a token of appreciation after having learned from reading code examples from so many other programmers. I named it Swap_Items.py. Thank you all 'pythoners'. Comments are welcome! ~~~~~~ ''' PURPOSE There is often a need to switch the position...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kadner</dc:creator><pubDate>Wed, 30 Mar 2022 22:38:11 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/85b4b1b4/?limit=25#d3d2</guid></item><item><title>saih_tam modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#96d9</link><description>I’m extremely grateful to @mpheath who gave me the solution “clé en main” (ready to use). I have understood it thanks to his explanations. I have implemented both Notepad++ Python Script and Standalone recursive Python Script : both work perfectly. I might even consider changing more elements very easily (thanks to list ‘presets’), and, amazing, modify the 5000 files without open them in Notepad++ (a lot of time saving). That’s a lot more than I expected. BIG THANKS to @mpheath and other for contributions...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 25 Jan 2022 22:08:04 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#96d9</guid></item><item><title>saih_tam modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#96d9</link><description>I’m extremely grateful to @mpheath who gave me the solution “clé en main” (ready to use). I have understood it thanks to his explanations. I have implemented both Notepad++ Python Script and Standalone recursive Python Script : both work perfectly. I might even consider changing more elements very easily (thanks to list ‘presets’), and, amazing, modify the 5000 files without open them in Notepad++ (a lot of time saving). That’s a lot more than I expected. BIG THANKS to @mpheath and other for contributions...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 25 Jan 2022 22:07:35 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#96d9</guid></item><item><title>saih_tam posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#96d9</link><description>I’m extremely grateful to @mpheath who gave me the solution “clé en main” (ready to use). I have understood it thanks to his explanations. I have implemented both Notepad++ Python Script and Standalone recursive Python Script : both work perfectly. I might even consider changing more elements very easily (thanks to list ‘presets’), and, amazing, modify the 5000 files without open them in Notepad++ (a lot of time saving). That’s a lot more than I expected. BIG THANKS to @mpheath and other for contributions...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 25 Jan 2022 22:06:16 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#96d9</guid></item><item><title>saih_tam posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#7840</link><description>I re-wrote my algorithm to simplify it : Open : 'song.ini' Desactivate 'back line auto' in 'display' Desactivate numeric keypad Start macro # move "name =" If (find("name =") == true) : cut ("name =" line with precedent line break) and paste it after ("[song]" line); Else : create a line after ("[song]" line) and write "name = "; # move "artist =" If (find("artist =") == true) : cut ("artist =" line with precedent line break) and paste it after ("name =" line); Else : create a line after ("name ="...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sun, 23 Jan 2022 20:17:23 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#7840</guid></item><item><title>saih_tam modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</link><description>I duplicated this post on Help rubrique. Could moderators delete this empty post ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:48:16 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</guid></item><item><title>saih_tam modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:47:55 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</guid></item><item><title>saih_tam modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</link><description>I duplicated this post on Help rubrique. Could moderators delete this empty post ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:47:29 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</guid></item><item><title>saih_tam modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</link><description>Exemple1 before modification : [song] artist = Erasure name = 04B.103.8e Always (2009 Remix) album = Pop! Remixed delay = 3050 diff_guitar = -1 diff_bass = -1 diff_guitar_coop = -1 diff_rhythm = -1 diff_vocals = -1 diff_keys = -1 diff_bass_real = -1 diff_guitar_real = -1 diff_dance = -1 diff_bass_real_22 = -1 diff_guitar_real_22 = -1 diff_vocals_harm = -1 sysex_high_hat_ctrl = True multiplier_note = 116 pro_drums = True charter = BobSchneeder45 background = imageWS.jpg last_play = 2022-01-16-22:36:05...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:45:56 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</guid></item><item><title>saih_tam modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</link><description>Exemple1 before modification : [song] artist = Erasure name = 04B.103.8e Always (2009 Remix) album = Pop! Remixed delay = 3050 diff_guitar = -1 diff_bass = -1 diff_guitar_coop = -1 diff_rhythm = -1 diff_vocals = -1 diff_keys = -1 diff_bass_real = -1 diff_guitar_real = -1 diff_dance = -1 diff_bass_real_22 = -1 diff_guitar_real_22 = -1 diff_vocals_harm = -1 sysex_high_hat_ctrl = True multiplier_note = 116 pro_drums = True charter = BobSchneeder45 background = imageWS.jpg last_play = 2022-01-16-22:36:05...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:45:31 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</guid></item><item><title>saih_tam modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</link><description>Exemple1 before modification : [song] artist = Erasure name = 04B.103.8e Always (2009 Remix) album = Pop! Remixed delay = 3050 diff_guitar = -1 diff_bass = -1 diff_guitar_coop = -1 diff_rhythm = -1 diff_vocals = -1 diff_keys = -1 diff_bass_real = -1 diff_guitar_real = -1 diff_dance = -1 diff_bass_real_22 = -1 diff_guitar_real_22 = -1 diff_vocals_harm = -1 sysex_high_hat_ctrl = True multiplier_note = 116 pro_drums = True charter = BobSchneeder45 background = imageWS.jpg last_play = 2022-01-16-22:36:05...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:44:34 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</guid></item><item><title>saih_tam posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</link><description>Exemple1 before modification : [song] artist = Erasure name = 04B.103.8e Always (2009 Remix) album = Pop! Remixed delay = 3050 diff_guitar = -1 diff_bass = -1 diff_guitar_coop = -1 diff_rhythm = -1 diff_vocals = -1 diff_keys = -1 diff_bass_real = -1 diff_guitar_real = -1 diff_dance = -1 diff_bass_real_22 = -1 diff_guitar_real_22 = -1 diff_vocals_harm = -1 sysex_high_hat_ctrl = True multiplier_note = 116 pro_drums = True charter = BobSchneeder45 background = imageWS.jpg last_play = 2022-01-16-22:36:05...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:43:50 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#e375</guid></item><item><title>saih_tam posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#35b7</link><description>Algorithme rename : Start macro 'ctrl' + 'f'; ### open 'find window' 'n' 'a' 'm' 'e' ' ' '=' 'enter'; ### find("name =") If (find("name =") == true) : clic on 'close (cross) button'; ### close find window 'end' ### go to line's end with key '1' of numeric keypad 'shift' + 'home'; ### select all the line with key '7' of numeric keypad... 'shift' + 'left arrow'; ### ... and select the precedent line break 'ctrl' + 'x'; ### cut selection 'ctrl' + 'pg up'; ### go to precedent tab with key '9' of numeric...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Sat, 22 Jan 2022 16:41:43 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#35b7</guid></item><item><title>saih_tam modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</link><description>I duplicated this post on Help rubrique. Could moderators delete the wrong post ? Hello I'm sorry for my bad english. I used to use perso Notepad++ macros : I just record what I do using keyboard, keyboard shortcuts and the mouse only to clic on 'close (cross) button' of find window. It often helps me to save a lot of time in order to modify semi automatically a lot of files 'song.ini' (arround 5000). Unfortunatly, I’m stuck on the impossibility of using basing conditional tests. I understood that...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 18 Jan 2022 20:33:59 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</guid></item><item><title>saih_tam posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#b501</link><description>Hello I'm sorry for my bad english. I used to use perso Notepad++ macros : I just record what I do using keyboard, keyboard shortcuts and the mouse only to clic on 'close (cross) button' of find window. It often helps me to save a lot of time in order to modify semi automatically a lot of files 'song.ini' (arround 5000). Unfortunatly, I’m stuck on the impossibility of using basing conditional tests. I understood that PythonScript plugin in Notepad++ allow this conditionnal tests (and far more). I...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 18 Jan 2022 20:31:30 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/eb2c983ffb/?limit=25#b501</guid></item><item><title>saih_tam modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</link><description>Hello I'm sorry for my bad english. I used to use perso Notepad++ macros : I just record what I do using keyboard, keyboard shortcuts and the mouse only to clic on 'close (cross) button' of find window. It often helps me to save a lot of time in order to modify semi automatically a lot of files 'song.ini' (arround 5000). Unfortunatly, I’m stuck on the impossibility of using basing conditional tests. I understood that PythonScript plugin in Notepad++ allow this conditionnal tests (and far more). I...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 18 Jan 2022 20:27:33 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</guid></item><item><title>saih_tam posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</link><description>Hello I'm sorry for my bad english. I used to use perso Notepad++ macros : I just record what I do using keyboard, keyboard shortcuts and the mouse only to clic on 'close (cross) button' of find window. It often help me to save a lot of time in order to modify semi automatically a lot of files 'song.ini' (arround 5000). Unfortunatly, I’m stuck on the impossibility of using basing conditional tests. I understood that PythonScript plugin in Notepad++ allow this conditionnal tests (and far more). I...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">saih_tam</dc:creator><pubDate>Tue, 18 Jan 2022 19:39:30 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/fa2c176592/?limit=25#7020</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/881b7a2a2e/?limit=250#935c</link><description>Try it this way: editor.replace('"duration":300', '"duration":315360000')</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Fri, 24 Dec 2021 13:04:48 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/881b7a2a2e/?limit=250#935c</guid></item><item><title>Robert modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/a4a924a733/?limit=25#0951</link><description>Sorry about the double post</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert</dc:creator><pubDate>Fri, 24 Dec 2021 05:44:39 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/a4a924a733/?limit=25#0951</guid></item><item><title>Robert posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/a4a924a733/?limit=25#0951</link><description>I need to run this find / replace in a huge json file. editor.replace(""duration":300", ""duration":315360000") editor.replace(""duration":600", ""duration":315360000") editor.replace(""duration":900", ""duration":315360000") editor.replace(""duration":3600", ""duration":315360000") I get the following error im sure its the " s in the syntax SyntaxError: invalid syntax File "C:\Program Files\Notepad++\plugins\PythonScript\scripts\User\Mods.py", line 7 editor.replace(""duration":300", ""duration":315360000")...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert</dc:creator><pubDate>Fri, 24 Dec 2021 05:26:33 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/a4a924a733/?limit=25#0951</guid></item><item><title>Robert posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/881b7a2a2e/?limit=25#d756</link><description>I need to run this find / replace in a huge json file. editor.replace(""duration":300", ""duration":315360000") editor.replace(""duration":600", ""duration":315360000") editor.replace(""duration":900", ""duration":315360000") editor.replace(""duration":3600", ""duration":315360000") I get the following error im sure its the " s in the syntax SyntaxError: invalid syntax File "C:\Program Files\Notepad++\plugins\PythonScript\scripts\User\Mods.py", line 7 editor.replace(""duration":300", ""duration":315360000")...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert</dc:creator><pubDate>Fri, 24 Dec 2021 05:14:07 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/881b7a2a2e/?limit=25#d756</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=250#8e05</link><description>In general there is not an absolute way to intercept command invocation via their keyboard shortcuts. However, this posting discusses ways of attempting it: https://community.notepad-plus-plus.org/topic/21158/way-to-disallow-copying-text/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Tue, 05 Oct 2021 12:02:10 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=250#8e05</guid></item><item><title>V@no modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=100#3151</link><description>Because I want it's functionality when text is selected and don't want it, when nothing is selected. Basically I'd like to combine F3 and CTRL+F3 into one For now I'm satisfied with this method, but still would like to know if there is a way capture commands within the script.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Mon, 04 Oct 2021 12:09:54 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=100#3151</guid></item><item><title>V@no posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=100#3151</link><description>Because I want it's functionality when text is selected and don't want it, when nothing is selected. Basically I'd like to combine F3 and CTRL+F3 into one For now I'm satisfied with this method, but still would like to know if there is a way capture commands within the script.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Mon, 04 Oct 2021 12:07:45 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=100#3151</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=250#2a2f</link><description>Why not just disable it in the Shortcut Mapper?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Mon, 04 Oct 2021 12:02:01 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=250#2a2f</guid></item><item><title>V@no modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/ce05950735/?limit=100#3e22</link><description>This is a simple Python script that backup edited file before it's being overwritten on save. It recreates a directory structure of original file in the backup folder and appends modification date of the original file to the end of filename (not date of the backup, file modification date). i.e. file C:\blah\mycode.js will be backed up as D:\Backup\Notepad++\C\blah\mycode.js_20210928_221824.js Because it copies file before NPP saves new data into it, you always will have a copy of the original file....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Sun, 03 Oct 2021 15:53:13 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/ce05950735/?limit=100#3e22</guid></item><item><title>V@no modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/dc27b1afba/?limit=100#8f44</link><description>duplicate. please ignore.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Sat, 02 Oct 2021 22:55:28 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/dc27b1afba/?limit=100#8f44</guid></item><item><title>V@no posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/dc27b1afba/?limit=100#8f44</link><description>Is there a way intercept and cancel execution of a command when a hotkey is pressed? Specifically I'm trying to intercept when CTRL+F3 is pressed (which is select and find next command) so it would not select a word next to the cursor if no text is selected.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Sat, 02 Oct 2021 22:53:51 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/dc27b1afba/?limit=100#8f44</guid></item><item><title>V@no posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=100#f038</link><description>Is there a way intercept and cancel execution of a command when a hotkey is pressed? Specifically I'm trying to intercept when CTRL+F3 is pressed (which is select and find next command) so it would not select a word next to the cursor if no text is selected.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Sat, 02 Oct 2021 19:04:28 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/1d22a35fee/?limit=100#f038</guid></item><item><title>V@no modified a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/ce05950735/?limit=100#3e22</link><description>This is a simple Python script that backup edited file before it's being overwritten on save. It recreates a directory structure of original file in the backup folder and appends modification date of the original file to the end of filename (not date of the backup, file modification date). i.e. file C:\blah\mycode.js will be backed up as D:\Backup\Notepad++\C\blah\mycode.js_20210928_221824.js Because it copies file before NPP saves new data into it, you always will have a copy of the original file....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Thu, 30 Sep 2021 11:10:11 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/ce05950735/?limit=100#3e22</guid></item><item><title>V@no posted a comment on discussion Script Showcase</title><link>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/ce05950735/?limit=100#3e22</link><description>This is a simple Python script that backup edited file before it's being overwritten on save. It recreates a directory structure of original file in the backup folder and appends modification date of the original file to the end of filename (not date of the backup, file modification date). i.e. file C:\blah\mycode.js will be backed up as D:\Backup\Notepad++\C\blah\mycode.js_20210928_221824.js Because it copies file before NPP saves new data into it, you always will have a copy of the original file....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Thu, 30 Sep 2021 00:42:34 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1199074/thread/ce05950735/?limit=100#3e22</guid></item><item><title>Kracov B posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#26b9/0369/38e6</link><description>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/6a6fa076/ This is what my issue is. But that seems to be only for one confirmation box, and it's really old, and I don't understand the part about sendkeys</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kracov B</dc:creator><pubDate>Sun, 23 May 2021 11:07:48 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#26b9/0369/38e6</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#26b9/0369</link><description>I don't think I even really understand the question. Maybe best to post on the Community site with more detail about what you're doing.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sun, 23 May 2021 11:00:10 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#26b9/0369</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#26b9/adee</link><description>I don't think I even really understand the question. Maybe best to post on the Community site with more detail about what you're doing.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sun, 23 May 2021 11:00:09 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#26b9/adee</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#26b9/a42a</link><description>I don't think I even really understand the question. Maybe best to post on the Community site with more detail about what you're doing.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sun, 23 May 2021 11:00:08 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#26b9/a42a</guid></item><item><title>Kracov B posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#26b9</link><description>Do you know the solution?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kracov B</dc:creator><pubDate>Sat, 22 May 2021 22:09:37 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#26b9</guid></item><item><title>Kracov B posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#18cd/99c3/2851</link><description>I didn't know it was possible to hide the boxes. PS doesn't have a lot of settings</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kracov B</dc:creator><pubDate>Sat, 22 May 2021 12:44:56 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#18cd/99c3/2851</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#18cd/99c3</link><description>There are ways, but if you are just going to "auto confirm" a bunch of boxes, why show them?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sat, 22 May 2021 11:08:52 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=250#18cd/99c3</guid></item><item><title>Kracov B posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#18cd</link><description>Is there a way to automatically confirm Enter on a script that sends multiple dialog confirmation boxes? I plan to add a lot more macros for the script, so pressing Enter too many times is tedious.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kracov B</dc:creator><pubDate>Fri, 21 May 2021 16:57:22 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/f162f921a1/?limit=25#18cd</guid></item><item><title>claudio C. modified a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#5b81/41f5/7fbd</link><description>hello, yes that's my post :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">claudio C.</dc:creator><pubDate>Fri, 21 May 2021 11:29:33 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#5b81/41f5/7fbd</guid></item><item><title>claudio C. posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#5b81/41f5/7fbd</link><description>hello, yes that's my post :-) Il 17.05.2021 13:50 Sasumner ha scritto: It appears there may be a problem with the special casing stuff in Pythonscript...see https://github.com/bruderstein/PythonScript/issues/199 [1] serach reg exp [2] Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/npppythonscript/discussion/1188885/ [3] To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ [4] Con Tiscali Mobile Smart 30 4G hai minuti...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">claudio C.</dc:creator><pubDate>Mon, 17 May 2021 21:14:55 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#5b81/41f5/7fbd</guid></item><item><title>Sasumner posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=250#5b81/41f5</link><description>It appears there may be a problem with the special casing stuff in Pythonscript...see https://github.com/bruderstein/PythonScript/issues/199</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Mon, 17 May 2021 11:50:03 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=250#5b81/41f5</guid></item><item><title>claudio C. posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#5b81</link><description>Taking the addition of "r" for granted so that my backslashes are processed by the regex engine, the problem of uppercase to lowercase characters with "\ L" remains. I doubt the correct syntax to bring everything in lowercase associated with group # 3: (\L$3) Is this correct? Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">claudio C.</dc:creator><pubDate>Sat, 15 May 2021 19:48:32 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#5b81</guid></item><item><title>claudio C. posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#376e</link><description>hello, but the command editor.rereplace () unlike editor.replace () is not already addressed for the regex engine? if not what is the difference? thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">claudio C.</dc:creator><pubDate>Sat, 15 May 2021 11:46:27 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#376e</guid></item><item><title>Sasumner posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=250#493b/3940</link><description>Probably you need to use "raw strings" so that your backslashes aren't consumed by Python's interpretation and not given to the regex engine. So, instead of: editor.rereplace("abc", "def") do: editor.rereplace(r"abc", r"def")</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sat, 15 May 2021 11:40:01 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=250#493b/3940</guid></item><item><title>claudio C. posted a comment on discussion Open Discussion</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#493b</link><description>hi all, I need to manipulate files looking for and modifying some tags, transforming capital letters where present into lowercase. For the search I used regular expressions. This regular expression works perfectly in the npp ++ search and replace command but does not work in a python script. The command in question is: editor.rereplace ("((\ /) *) ([a-zA-Z] +) ((\ d) +) "," $ 1 (\ L $ 3) $ 4 "). Suggestions? thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">claudio C.</dc:creator><pubDate>Sat, 15 May 2021 07:11:14 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/8be608b3f7/?limit=25#493b</guid></item><item><title>Christian M posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#3d15</link><description>Well for certain languages it's really hard to guess what character coding where used to represent the string in the menu. But just for giggles I challenged myself and tried, after failing a few times to infer from the menu what it was, and when I was about to give up, I had the idea to look up the raw translation in xml: https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/installer/nativeLang My language is Japanese so the corresponding entries in the xml are: &lt;Item menuId="encoding"...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 16:07:48 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#3d15</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=250#ea72/5501</link><description>Regarding "English"...for whatever localization you're using, can't you just replace the strings with whatever are appropriate for the language, and have it work?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Sat, 27 Feb 2021 12:59:12 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=250#ea72/5501</guid></item><item><title>Christian M modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</link><description>That was it, to summarize: MENUCOMMAND.FORMAT_AS_UTF_8 -&gt; to UTF8 without BOM MENUCOMMAND.FORMAT_CONV2_AS_UTF_8 -&gt; to UTF8 without BOM MENUCOMMAND.FORMAT_CONV2_UTF_8 -&gt; to UTF8 with BOM Thanks! Side note: notepad.runMenuCommand("Encoding", "Convert to UTF-8") will convert to UTF8 without BOM notepad.runMenuCommand("Encoding", "Convert to UTF-8-BOM") will convert with BOM But it only works when Notepad++ language is set to English</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 12:27:01 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</guid></item><item><title>Christian M modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</link><description>That was it, to summarize: MENUCOMMAND.FORMAT_AS_UTF_8 -&gt; to UTF8 without BOM MENUCOMMAND.FORMAT_CONV2_AS_UTF_8 -&gt; to UTF8 without BOM MENUCOMMAND.FORMAT_CONV2_UTF_8 -&gt; to UTF8 with BOM Thanks! Side note: notepad.runMenuCommand("Encoding", "Convert to UTF-8") will convert to UTF8 without BOM notepad.runMenuCommand("Encoding", "Convert to UTF-8-BOM") will convert with BOM But it only works when Notepad++ language is set to English</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 12:26:29 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</guid></item><item><title>Christian M modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</link><description>That was almost it, after looking it up more it's actually: MENUCOMMAND.FORMAT_AS_UTF_8 -&gt; to UTF8 without BOM MENUCOMMAND.FORMAT_CONV2_UTF_8 -&gt; to UTF8 with BOM Thanks for pointing me to the right direction. Side note: notepad.runMenuCommand("Encoding", "Convert to UTF-8") will convert to UTF8 without BOM notepad.runMenuCommand("Encoding", "Convert to UTF-8-BOM") will convert with BOM But it only works when Notepad++ language is set to English</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 12:15:34 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</guid></item><item><title>Christian M modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</link><description>I edited the post to be clearer, let me rephrase here as well: MENUCOMMAND.FORMAT_CONV2_AS_UTF_8 converts to UTF8 with BOM, I need the same to convert without BOM but it does not exists, this is a feature request. Side note: notepad.runMenuCommand("Encoding", "Convert to UTF-8") will convert to UTF8 without BOM notepad.runMenuCommand("Encoding", "Convert to UTF-8-BOM") will convert with BOM Unfortunately it only works when Notepad++ language is set to English (this is not my case)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 04:32:39 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</guid></item><item><title>Christian M posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</link><description>I edited the pose to be clearer MENUCOMMAND.FORMAT_CONV2_AS_UTF_8 converts to UTF8 with BOM, I need the same to convert without BOM but it does not exists, this is a feature request. Side note: notepad.runMenuCommand("Encoding", "Convert to UTF-8") will convert to UTF8 without BOM notepad.runMenuCommand("Encoding", "Convert to UTF-8-BOM") will convert with BOM Unfortunately it only works when Notepad++ language is set to English (this is not my case)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 04:24:13 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#ea72</guid></item><item><title>Christian M modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#e58d</link><description>When Notepad++ language is set to something other than English: notepad.runMenuCommand("Encoding", "Convert to UTF-8") Will not be found, well that's to be expected but it seems the enum: notepad.menuCommand(MENUCOMMAND.FORMAT_CONV2_UTF_8) Converts to UTF8 with BOM and I can't find a version without BOM. It be nice to have both enums to convert to UTF8 with and without BOM. I recently discovered this little plugin and I'm very excited to all the things I'm going to be able to automate from now on...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sat, 27 Feb 2021 04:20:45 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#e58d</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=250#e58d/9522</link><description>Not 100% certain, but perhaps MENUCOMMAND.FORMAT_CONV2_AS_UTF_8</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Mon, 15 Feb 2021 12:48:05 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=250#e58d/9522</guid></item><item><title>Christian M posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#e58d</link><description>When Notepad++ language is set to something other than English: notepad.runMenuCommand("Encoding", "Convert to UTF-8-BOM") Will not be found, well that's to be expected but it seems the enum: notepad.menuCommand(MENUCOMMAND.FORMAT_CONV2_UTF_8) Converts to UTF8-BOM and I can't seem to find a version without BOM. I recently discovered this little plugin and I'm very excited to all the things I'm going to be able to automate from now on ^^ Thank you so much.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian M</dc:creator><pubDate>Sun, 14 Feb 2021 04:27:27 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/96ce6e749d/?limit=25#e58d</guid></item><item><title>Sasumner posted a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/95cfc6c5b4/?limit=250#bdf2</link><description>You probably have to go to Boost::Regex documentation to find out all the details of the regex syntax used. The $ isn't used by itself here. It is part of ${ 1 } which means the first capture group contents. In my testing of exactly what I provided, [I] becomes &lt;i&gt; so I can't reproduce what you're saying. You can get good N++/Pythonscript regex help by posting here: https://community.notepad-plus-plus.org/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sasumner</dc:creator><pubDate>Fri, 22 Jan 2021 12:20:47 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/95cfc6c5b4/?limit=250#bdf2</guid></item><item><title>607 modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/95cfc6c5b4/?limit=25#8c43/876d</link><description>Thank you! That works, although I'm not quite sure why, because I can't find \l or this use of $ in the documentation for Python's re class. Edit: I've been doing some experimenting and was able to use the capitalisation ignore elsewhere too. However, I noticed that the suggested replacement doesn't quite work: [I] becomes &lt;I&gt;. Would it not be possible to let it become &lt;i&gt; automatically? I was intending to use .lower(), but couldn't access the content of the match at all.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">607</dc:creator><pubDate>Thu, 21 Jan 2021 16:48:14 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/95cfc6c5b4/?limit=25#8c43/876d</guid></item><item><title>607 modified a comment on discussion Help</title><link>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/95cfc6c5b4/?limit=25#8c43/876d</link><description>Thank you! That works, although I'm not quite sure why, because I can't find \l or this use of $ in the documentation for Python's re class. Edit: I've been doing some experimenting and was able to use the capitalisation ignore elsewhere too. However, I noticed that the suggested replacement doesn't quite work: [I] becomes &lt;I&gt;. Would it not be possible to let it become &lt;i&gt; automatically?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">607</dc:creator><pubDate>Thu, 21 Jan 2021 16:47:21 -0000</pubDate><guid>https://sourceforge.net/p/npppythonscript/discussion/1188886/thread/95cfc6c5b4/?limit=25#8c43/876d</guid></item></channel></rss>