Easy access Delete
As a refresher, we at Endigit all use the Logitech M570 wireless trackball mouse. With that mouse you can change the button settings. I have assigned the forward button to be the delete button. I rarely used the Forward button and often need to delete things. This saves me from moving my hand from the mouse to the keyboard to hit the delete key. Notice that I have the Back button still set as the Back task. I use this often when navigating Windows Explorer and on the Interwebs.
Introducing: Quicker Quick Drop
I don't use the back button ever in LabVIEW though. That makes that button worthless to me when developing software in LabVIEW. I thought about it and talked about it with the other Endigiters and we thought it would be great to add ctrl-space for even quicker quick drop. Now instead of wasting so much energy moving my pinkie finger all the way down the the control button and pushing space, I can gently press a mouse button and have quick drop open. Take that Carpal Tunnel!
But wait there's more!
The middle mouse button is really useful for opening links in new tabs online, or opening a new instance of applications, but again, worthless to me in LabVIEW. Another common task is cleaning up wires. Clean Up Wire is normally the top option when you right-click on a wire so it is quick and easy. However, I have modified my right-click menu so that Create Constant, Control, and Indicator are at the top. (That is another great time saver.) So I had to right-click and choose the 4th option down.
That is just too much work for me. I started selecting the wire and then hitting ctrl-u to clean it up. That was nice, except the U button is way on the right side of the keyboard. I have to move my pinkie down to the Control button and then stretch way out to get the U key with my index finger. That is exhausting! Why not map the middle mouse button to ctrl-u to save me so much energy? Unfortunately, the middle button cannot be configured for application specific behavior. Luckily, AutoHotkey.com came to the rescue! With AutoHotkey you can set specific keys to run scripts. I have an AutoHotkey script that looks at the middle mouse button. When it is pressed it checks if I am using LabVIEW. If I am then it clicks and sends ctrl-u. If I am not using LabVIEW it sends the normal middle click. BOOM! Now I have block diagram clean-up, and wire clean up with a quick easy push of the button.
What is next?
I have been thinking of other things that I can do to maximize my mouse and keyboard. I think the next thing I am going to figure out is using the mouse buttons to copy and paste. I am going to see if I can have ctrl modifier to have the Forward and Back buttons be copy and paste.
What ideas for mouse shortcuts do you want?
Comment your ideas on what you would like to have simplified with your mouse. I would love to hear some new ideas.
Toggle between Front Panel and Block Diagram
I added so that when I press both the left and right mouse buttons at the same time it sends Ctrl-E to toggle between front panel and block diagram.