Thursday, April 22, 2010

Autohotkey script for Viliv S5 Windows 7 on screen keyboard

Viliv's on screen keyboard is useable. The Windows 7 on screen keyboard is better. I use the following Autohotkey script to show/hide the Windows 7 on screen keyboard.

^!h::
IfWinExist ahk_class IPTip_Main_Window
PostMessage,0x112,0xF060,,,ahk_class IPTip_Main_Window
else
run "C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe"
return

The first line corresponds to the h sent when the S5 keyboard hotkey (the button on the lower right corner of the S5) is pressed.