Add that script to your menu (with a shortcut maybe), toolbar, whichever you want, and that will run the script in the context of the plugin (so you can query variable state afterwards from the console, for instance).
Dave.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a simple way to use this plugin to execute python code that I'm currently editing within Notepad++?
Thanks!
Yep, just create a script as follows
Add that script to your menu (with a shortcut maybe), toolbar, whichever you want, and that will run the script in the context of the plugin (so you can query variable state afterwards from the console, for instance).
Dave.