Can I have multiple ‘Search Engine’ in the context menu?
-
… each with their own base URL to specify a search.
-
Do you mean searching the highlighted phrase on the Internet?
Here’s my example:
These are the lines in the shortcuts.xml file<Command name="Search htmlbook.ru" Ctrl="no" Alt="no" Shift="no" Key="0">http://htmlbook.ru/sites/search/?q=$(CURRENT_WORD)</Command> <Command name="Search htmlbook.ru++" Ctrl="no" Alt="no" Shift="no" Key="0">https://webref.ru/search/?q=$(CURRENT_WORD)</Command> <Command name="Search w3schools.com" Ctrl="no" Alt="no" Shift="no" Key="0">https://www.w3schools.com/search/?q=$(CURRENT_WORD)</Command> <Command name="Google Translate" Ctrl="no" Alt="no" Shift="no" Key="0">https://translate.google.com/?q=$(CURRENT_WORD)</Command> <Command name="Search Microsoft Update Catalog" Ctrl="no" Alt="no" Shift="no" Key="0">https://www.catalog.update.microsoft.com/Search.aspx?q=$(CURRENT_WORD)</Command>
These are the lines in the contextMenu.xml file
<Item FolderName="Найти в Интернете" MenuEntryName="Edit" MenuItemName="Search on Internet" ItemNameAs="Найти в www.Google.com"/> <Item FolderName="Найти в Интернете" MenuEntryName="Run" MenuItemName="Search Microsoft Update Catalog" ItemNameAs="Найти в Каталоге Microsoft"/>
-
It took me some time to figure out what you did there (I am new to NPP …) - but yes! that is exactly what I was looking for!
Thank you so much for your kind help.