Saturday, April 11, 2009

AutoHotkey

AutoHotkey (ahk) is a very powerful scripting utility

only down side is the learning curve to start coding

below code is taken from here. it remap you external keyboard's numberpad so that, regardless of numlock on/off, the numberpad is always number

=======quote========
NumpadIns::Numpad0
NumpadEnd::Numpad1
NumpadDown::Numpad2
NumpadPgDn::Numpad3
NumpadLeft::Numpad4
NumpadClear::Numpad5
NumpadRight::Numpad6
NumpadHome::Numpad7
NumpadUp::Numpad8
NumpadPgUp::Numpad9
NumpadDel::NumpadDot
======unquote=======

and to start using ahk, you would have these added
=======quote========
#z::Run "D:\profile\chris\Application Data\Microsoft\Internet Explorer\Quick Launch\Google Chrome.lnk"

^!n::
IfWinExist Untitled - Notepad
WinActivate
else
Run notepad
return

^!c::
IfWinExist Calculator
WinActivate
else
Run calc
return

#c::Run cmd
======unquote=======

with the above implemented, we are yet to learn the scripting language and already we are off the mark with some big boost

No comments:

Post a Comment