Could everyone tell me how can use notepad++ plugins by a script
Hi,everyone,i get a idea about writing a script which use the nppexport plugin to open a code file then export to a RTF or html file.
But i do not know how can use notepad++ plugins by a script,so could everyone tell me how to do?
Using PythonScript plugin, you can write a script which is run from within Notepad++, which has access to all the features of Notepad++, including its editor panes and any plugins.
It has a great documentation set at Plugins > Python Script > Context-Help
notepad.runPluginCommand()(in the “Notepad++ Object” section of the Context-Help) will allow you to run an arbitrary command from one of the plugin submenus. (Similarly,
notepad.runMenuCommand()will allow you to run an arbitrary command from one of the other Notepad++ menus.)
Each of these should be accessible from the Plugin Manager or easily found through favorite search engine.
Current releases of the mentioned script plugins: