As I continue training for my new job doing tech support for Microsoft, I have been taking lots of notes using Microsoft OneNote. which is part of the Office 2010 suite. I create individual notebooks for each topic covered in class and create pages for each lesson, complete with screenshots and links to related web sites. I also find myself doing quite a bit of highlighting to help me remember the important points covered by the instructor during the lectures. The keyboard shortcut for highlighting a selected block of text is Ctrl + Alt + H. Pretty awkward.
Then I thought of creating a script using AutoHotkey to make it possible to highlight text using only the mouse and never have to touch the keyboard again, well, except for typing more notes. All it takes is this one little line.
MButton & WheelUp::Send ^!h
With this script running I can continue selecting the text to be highlighted as usual, but when I’m ready for the actual highlighting, I just hold down the middle mouse button and scroll up at the same time, which is the hotkey for sending the Ctrl + Alt + H keystroke that highlights the selected text.
It’s amazing how one line of code can save tons of time.