PythonScript: "New Script" not shown
-
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: => Plugins => Python Script => 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 => Plugins => Python Script => Scripts nor => Plugins => Python Script => Configuration ... ... even after restarting nppSeems to me this is what is recommended in “FAQ: How to install and run a script in PythonScript” …
… or do I miss any step or do anything wrong?Best regards!
PeterNot sure if this matters: using npp portable (v8.9)
(first posted on PythonScript’s forum on sourceforge - but got no reply) -
Probably start by posting your Notepad++ Debug Info.
Details on how to do that:
In your Notepad++, click on the “?” menu (found to the right of “Window” in the menu bar). In the menu that drops down, choose “Debug Info…”. A dialog will open detailing specifics about your Notepad++ version, plugins, etc. CLICK ON THE BUTTON “Copy debug info into clipboard”. Do a PASTE HERE. -
@snafu423 said in PythonScript: "New Script" not shown:
after creating some random file, it does neither show up under
=> Plugins => Python Script => ScriptsI had never noticed before, but I just tried the experiment: when you first create an empty file that way, it doesn’t show up. But as soon as you put any text in that script and save it (whether it’s just the initial
from Npp import editorline, or even a simple# commentline), after you’ve saved it with content, then it does show up in the Scripts sub-menu. (One more experiment: I created a new file, then typed a space then a backspace, and saved it, and it still showed up. So it just takes an active save after creating the empty file for PythonScript to add it to the menu.)