

If you followed step #3 from Installation, you can just use the keyboard shortcut you defined in the Shortcut Mapper.Run the script using one of the three methods below: maybe editing the script to customize some regular expression.You need to start by doing any preparatory work suggested in the original post, including but not limited to: Make sure the Initialisation pulldown is set to ATSTARTUP.Put in any code that they recommended for your startup.py script.If startup (User) does not exist, create a New Script as before, but call this one startup.py, and save it in the same directory as ProvidedScript.py.NOTE: not startup by itself, which is the “Machine scripts” version ¹: you should never need to edit the “machine scripts” startup.py.Ctrl+click ² on startup (User), which will edit that file.If the script’s author mentioned putting some commands in your “startup script” or startup.py, then between steps #2 and #3, you will need to do the following: Now that shortcut will be assigned to the ProvidedScript script.Click on ProvidedScript in the list, Modify, and set the shortcut as desired, OK.Plugins > Python Script will now list ProvidedScript.Exit Notepad++ completely and restart the application.Note: it needs to be added to this list to be able to be accessed via Notepad++'s Shortcut Mapper.Click the left Add to add the script to the Menu items table.Plugins > Python Script > Configuration….If you want to give it a keyboard shortcut:.Caveat: many scripts posted in the forum end up in a grey or black box if there is a scroll bar on the right side of that box, please make sure you scroll through and grab the whole script, not just the first “page” worth.Copy the text from the script that was provided to you, verbatim (including spacing/indentation… that is critical): copy/paste is your friend.It should be placed in your “user script” directory ¹ … If it doesn’t default to that location, then change to the correct location.I will call it ProvidedScript.py for purposes of this FAQ entry. Give it the name that was suggested in the original post, or something that makes sense to you.Install PythonScript plugin, if you don’t have it already.

You have likely been directed here because someone provided you with a script for PythonScript, and you need instructions on how to install and run the script.
