Word search on net
-
Hi
Is it possible to make word search like in the “Wikipedia search” but to custom site?thx!
-
Well, maybe…it depends upon what the custom site you are talking about takes as input.
The Wikipedia search function in Notepad++ works because its (Wikipedia’s) site understands this syntax:
https://en.wikipedia.org/wiki/Special:Search?search=foowhere
foois the thing to “look up” on the site.Thus it is a simple matter for the following command to be created in Notepad++ to allow the functionality of searching for the currently-selected word:
https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)If the site you are talking about works similarly, then it is easy. If not, it gets tougher, but something could be scripted with a scripting plugin.
-
Yes I think it’s doable , how do I create the command?
-
Look in shortcuts.xml to see how the Wikipedia one is done. The create a new entry like that but with your custom stuff in it. Restart Notepad++ to pick up changes to shortcuts.xml.
-
Sweet, works perfectly :)
ty!
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