sieukrem / jn-npp-plugin

Plugin for Notepad++ allowing you to automate some tasks using JavaScript
https://github.com/sieukrem/jn-npp-plugin/wiki
110 stars 24 forks source link

Remove menu items? #52

Closed Fabian42 closed 5 years ago

Fabian42 commented 7 years ago

Is it possible to remove "preinstalled" menu items (like "Window") with this? And is there a documentation I can see without installing the plugin first? When I search for "api.xml" in this repository, I don't find it.

KOLANICH commented 7 years ago

"Preinstalled" menus are in fact defined in JS files. Use NPP Find in files feature to find the file defining the menu you are interested in removing of.

sieukrem commented 7 years ago

Do you mean with "preinstalled" the native Notepad++ menu items? If 'yes' then it is not possible directly. If 'no', you can follow the sugestion from KOLANICH.

if 'yes' then you can try the Win32 API way.

The documentation is on the wiki page. The API.xml works only if you copy /plugins/jN/API folder on you PC.