Showing posts with label mouse. Show all posts
Showing posts with label mouse. Show all posts

2013-01-28

Windows 8 Power Users

There is going to be a new paradigm with Windows 8. I'm not just talking about the Modern UI (also was known as Metro UI).

Microsoft provides users many advanced mouse functionalities that hasn't been natively including in an operating system.

Typically, when we think of power users, we think of experts at the keyboard that have memorized many shortcuts and snippets of code. But, the new paradigm shift from Windows 8 is going to provide people the ability to call themselves mouse power users. Perhaps more people will learn about mouse gestures because of this. I'd give it at least another two years before mouse gestures become more mainstream, not just the mouse device gestures.

Personally, I typically prefer the keyboard to mouse, so much so that I created a script that allows keyboards to perform a double-click. But, there are definitely some times that the mouse is faster. Also, for those who don't like to use the keyboard at all there are many programs that you can download to provide your mouse the ability to do pretty much anything.

 - Just Gestures
 - Mouse Gestures

Let me know your experiences with mouse gestures.

~ Simply Advanced ~

*I did not personally try out these programs



2012-12-18

How to Create a Hotkey to Double Click Using AutoHotkey

Just created a hotkey to double-click so that I don't have to use the mouse! It is very much worth it and will speed up coding. There are other areas that I will be more productive in also. Just can't think of them right now.

I used an awesome program called AutoHotkey to achieve this and many other create keyboarding shortcuts/hotkeys/scripts. The following code basically says, "if ctrl is pressed twice consecutively in less than 500ms, then click two times at the caret position."


Ctrl::
    If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500) {
MouseGetPos X,Y
Send {Click  %A_CaretX%,%A_CaretY% 2} ; Moves the cursor
MouseMove (X),(Y) ; Moves back the cursor
    }
Return



  • Instead of using "%A_CaretX%,%A_CaretY%", it is possible to hardcode an x and y value to click on.
  • If you remove the line starting with MouseMove, then the cursor will move to the position the caret is at.


Let me know if this helps. =]

Disclaimer: I have not done an extensive test on all programs to see if this works. But, I know that it works in Notepad++, Eclipse, Notepad, and MS Word 2010. While typing this, the hotkey seems to return (aka double click) the top-left corner.

~ Simply Advanced ~