How often do you look up a piece of text on a web page?
If you’re a power user, probably you will use your keyboard rather than mouse to perform this sequence:
- Ctrl + C: to copy the selected text.
- Ctrl + T: to open a new tab in your browser.
- Ctrl + V: to paste the selected text.
- Hit enter to trigger the search.
I could never imagine that I can shortcut the whole process! To do this, you can use the AutoHotKey tool. I skip the instruction on how to install it and create script files, but as soon as you go over those, here is the script you’re looking for:
This script means when you hit qq (2 q’s) on your keyboard, AutoHotKey will replace it with sending Ctrl+C, Ctrl+T, Ctrl+V, Enter.
The difference between :*:qq:: and ::qq:: is by using ::qq::, you will need to hit space/enter to trigger the replacement (which doesn’t work for us in this case), but the * in :*:qq:: makes the replacement happen as soon as you type it.
I hope you find crazy cool uses for AutoHotKey!