Type Without Touchpad Interference

2:35 AM

When I type in any editing program and by accident my thumbs touch the touchpad, you know what happens then and I really found this interference by touchpad irritating, I hope you feel the same way.So I started to search for some solution and I found it.Now you do not need to worry a bit because you can use autohotkey script given below or download the preventTouchpadInterfere.exe from the link given at the end of this post.

prevent touchpad from interfering while typing-tutplus

How to apply this solution:-


Option1 :download the preventInterfere.exe from the link given at the end of the post and double click it.what it does is:it prevent the touchpad interfere for 600ms after pressing any key i.e it disable the trackpad for 600ms.so this way you can type smoothly in any editing program and also you can use touchpad. I recommend is :download and use it.
option2 :Install autoHotkey. Create a new autohotkey script(It will have .ahk extension.).
Now open the script in any text-editor(I recommend Notepad++)and paste the following code

#Persistent
OnExit, Unhook

hHookKeybd := SetWindowsHookEx(WH_KEYBOARD_LL := 13, RegisterCallback("Keyboard", "Fast"))
Return

ReenableTrackpad:
BlockInput, MouseMoveOff
Return

Unhook:
UnhookWindowsHookEx(hHookKeybd)
ExitApp

Keyboard(nCode, wParam, lParam)
{
Critical
If !nCode
{
BlockInput, MouseMove
SetTimer, ReenableTrackpad, 600
}
Return CallNextHookEx(nCode, wParam, lParam)
}

SetWindowsHookEx(idHook, pfn)
{
Return DllCall("SetWindowsHookEx", "int", idHook, "Uint", pfn, "Uint", DllCall("GetModuleHandle", "Uint", 0), "Uint", 0)
}

UnhookWindowsHookEx(hHook)
{
Return DllCall("UnhookWindowsHookEx", "Uint", hHook)
}

CallNextHookEx(nCode, wParam, lParam, hHook = 0)
{
Return DllCall("CallNextHookEx", "Uint", hHook, "int", nCode, "Uint", wParam, "Uint", lParam)
}

You can also download this script by clicking download script

But to use script you must install autoHotkey.There is an advantage using script and that is you can easily change the time 600ms to your desired time.But if you do not want to install autohotkey to apply this simple hack, you can simply download preventTouchpadInterfere.exe from the link given below

preventTouchpadInterfere.exe[ Download ]

after downloading above file, double click it and start typing in any text-editing program without worrying and keeping your hands away from touchpad.

I hope this cool hack will be useful to you...

You Might Also Like

0 comments

Like us on Facebook

Flickr Images