Internet Search YouTube
-
When I right click to use internet search once a select line is highlighted I tried to use YouTube to search but it wont work. It only takes me to YouTube home page. I have even changed my main home page on my main browser to YouTube to make it work and it still looks for the selected line on “Google” not YouTube. Is there a way to search on YouTube for the selected word. Or is there a way to quickly select the line of text based on a hotkey. I’m using Notepad++ as a way to organize my music and I have things setup like this:
Aaron Tippin Lookin’ back at myself
Aaron Tippin Call of the Wildand so on. I would like to either right click and search internet which would be “YouTube” and then that is it. Or setup a hotkey to select a line based on location. For example on the left side of the program there are numbers 1,2,3,4,5 and so on based on how many lines of text. I would like to select the first line of text and cut and then move all the other lines up. And then continue until the page is empty.
I know I can select text by clicking on it several times but then sometimes other text is also selected. I just want the line from the first letter of A for Aaron and then the last letter no matter what it is. Is this at all possible.
So what I’m trying to do is either make YouTube work for Internet Search or have YouTube work somehow with the Notepad++.
OR
Select the first full line of text cut it. That is all I’m trying to figure out how to do. I know I can search for specific text and such but I think that takes to long this should be easier. Hit a key and select and cut a full line. And then hit a second key to move all the list up by one. And then I continue the process until I move on to a new Singer or Group.
-
@Dawn said in Internet Search YouTube:
Is there a way to search on YouTube for the selected word.
Yes, if you look at the option to “change search engine” then type in (copy this text in red below):
https://www.youtube.com/results?search_query=$(CURRENT_WORD)
What you then do is to highlight the word(s) you want Youtube to search on, then use the Edit, On Selection, Search on Internet (see my image below).As for deleting a line where the cursor is currently, see Settings, Shortcut Mapper, Scintilla commands and then look for SCI_LINEDELETE. On my system it is Ctrl+Shift+L, that’s my shortcut key (hotkey) to delete that line.
Terry
-
@Terry-R said in Internet Search YouTube:
Yes, if you look at the option to “change search engine” then type in (copy this text in red below):
https://www.youtube.com/results?search_query=$(CURRENT_WORD)
What you then do is to highlight the word(s) you want Youtube to search on, then use the Edit, On Selection, Search on Internet (see my image below).@Dawn, further to this, if you want the ability to have more than one such search, you can actually use the Run > Run… dialog to save that same command into the Run menu, and even assign a keyboard shortcut. One can have multiple such actions – for example, I have a series of those saved so that I can search for Perl documentation on a keyword, or search in the CPAN (the Perl module ecosystem), or look at the Python 2 or Python 3 documentation for the active word or search PyPI (the Python Package Index) for the active term, etc. Limiting yourself to just the one Search on Internet action available seems too limiting to me.
You can even use Settings > Edit Popup Context Menu to edit the menu that you see when you right click in the editor, so you could put multiple searches from your Run menu next to Search on Internet in that context menu using
<Item MenuEntryName="Run" MenuItemName="___command_name_here____"/>
, to group them together,@Dawn said,
I know I can select text by clicking on it several times but then sometimes other text is also selected. I just want the line from the first letter of A for Aaron and then the last letter no matter what it is. Is this at all possible.
You can select a whole line – either using triple-click as you mentioned, or by clicking the line number margin for that line. But there isn’t a “partial version” of that, which only selects from the first letter to the end of line. However,
Home
thenShift+End
(if you have the default key bindings) will select from the first non-space to the end of the line, or justShift+End
to select from the current caret position to the end of the line (if you always want to click at the begginning of the line). If the two shortcut sequence is too much for you, record it as a macro, save it, and assign it a single keystroke so that you can do theHome, Shift+End
in one action in the future. -
I’m still pretty new to Notepad++ so I asked in a previous post about “Internet Search” and how to use YouTube with it. And that part got figured out but then I was told about Run>Run and now since I can’t post to the Quotes I can’t ask for more help on that already opened question. So I’m asking a new question.
How do I use Run>Run to open multiple Internet Search for each line.
Each line has a artist name and a album name I would like each line to open and be able to search for the artist and album on YouTube all at once. I just don’t know how to set it all up. Please help me with this I’m still new to all this. Thank You!
-
@Dawn said in Needing help with doing multiple internet searches at once from one Notepad++ Tab:
How do I use Run>Run to open multiple Internet Search for each line
On the Run>Run window paste my red text “https://www.youtube.com/results?search_query=$(CURRENT_WORD)”, then click the Save button, call it a name and you could even select a hotkey (will need to confirm no other command already uses that key sequence). Exit that window (after saving). Then look in the Run menu and you will see your new menu option.
Now select the singer/song (as before so it’s highlighted), then either use the hotkey (if you defined it) or the new menu option under Run.
You should have been able to go to your previous question and add a new post.
Terry
-
@Dawn said in Internet Search YouTube:
now since I can’t post to the Quotes I can’t ask for more help on that already opened question. So I’m asking a new question.
Do you mean the link
Quote
here:That works just fine.
I think your problem might have been because you didn’t yet have enough reputation to post links, but the back-reference to a previous post automatically inserts a link to the previous post. You could have just deleted the
@Dawn said in [Internet Search YouTube](/post/89466):
portion of the reply, and it would have worked.I merged your new question back into the original,
-----
@Dawn said in Internet Search YouTube:
artist and album on YouTube all at once
Then select both the artist and album at once.
My explanation to you about how to have multiple searches in the run menu wasn’t meant to do simultaneous searches of separate terms – it was a way to define the syntax so that you could have searches for multiple locations (like youtube vs tiktok vs myspace), and then choose which engine you wanted to use.
-
@PeterJones
For some odd reason it was not letting me post a reply. -
@Dawn said in Internet Search YouTube:
@PeterJones
For some odd reason it was not letting me post a reply.It was saying something about not being able to post links. I don’t really know what that was all about.
-
@PeterJones said in Internet Search YouTube:
because you didn’t yet have enough reputation to post links
I think your right about that. Thank You for the merge. By the way can I remove hotkeys I don’t use and that way setup the Run as a previous hotkey. I was just wondering. Plus is there a way to select a line with a plugin hotkey so that I don’t need to use the triple click or use the hot key for selecting the front of the line and back of the line. What I want to do is select the top line in full every time. I want to select cut and do a internet search. So that way when I come back to the notepad++ all I need to do is slide the line up and then grab the top line again. I am also asking for ahk help on autohotkey as well. I don’t know much about bat files but that might also be another option. Like for example create a full album list and then make a note for each album numbering it like this. 1,2,3,4,5,6,7,8,9,10 and so on and then having bat do a youtube search for each line or something. I’m not sure on how bat files really work but that is all I can really think of it.
-
@Dawn said in Internet Search YouTube:
By the way can I remove hotkeys I don’t use and that way setup the Run as a previous hotkey
Yes. Settings > Shortcut Mapper
Plus is there a way to select a line with a plugin hotkey so that I don’t need to use the triple click or use the hot key for selecting the front of the line and back of the line.
I already suggested the method of recording a macro for the selection. That is the way to get that sequence as a single keystroke.