AHK Writing Reclaimer – Focus stupid touchpad!

I travel quite a bit and have fallen in love with the portability of my eee pc.  That said, the touchpad drives me bonkers, stealing thunder from my angry replies by grabbing each palm click and creating havoc in my text, selecting and deleting quicker than I can blink.  I can’t be the only one who has this problem, but I’ve found precious few solutions out there to disable your touchpad with a keyboard shortcut.  My solution is not incredibly elegant (more like brute force really), but it does the job.

I’ve set CTRL+Space to toggle the program on and off.  When enabled, a left mouse click will send two shift key presses (down and up), but nothing else.  This stops the mouse from grabbing focus from your text.  Here is the basic code:

^Space::
Hotkey, LButton, MyHK
if j = 1
{
Hotkey, LButton, On
j = 0
}
else
{
Hotkey, LButton, Off
j = 1
}
Return

MyHK:
Send, {ShiftDown}{ShiftUp}
Return

It certainly does the job… I’ve put the code and the exe in a zip that can be downloaded below.

writing reclaimer (134)

Happy typing without your mouse getting in the way.

~ab

Get Adobe Flash playerPlugin by wpburn.com wordpress themes