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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login