Saturday 3 February 2018

windows 7 - Chrome extension for highlight+find prepopulate?


I switched from Firefox to Chrome as my go-to browser some months ago and there is one piece of functionality that still pesters me. Seems trivial/ignorable but this one is driving me nuts little by little...


I like to be able to highlight text, click CTRL-F, and have the find dialogue come up with the highlighted text prepopulated. Chrome (14.0.+) just shows my last search prepopulated. Is there any extension to help me?



Answer



If you are on Windows you can use the following Autohotkey script:


#SingleInstance force
SetTitleMatchMode 2
#IfWinActive ,Chrome
^f::Send ^c^f^v^a

When pressing Ctrl+F this hotkeys sends Ctrl+C, Ctrl+F, Ctrl+V and Ctrl+A So it copies, search, paste and select all the copied text in the search box.


I guess something better could be done, checking the clipboard, but that's out of my Autohotkey knowledge :P


I have uploaded a compiled script if you don't have Autohotkey


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...