This was done ages ago, AutoHotkey has served me well.
Some of the programs that I added/modified hotkeys for.
The actual code is not shown:
#IfWinActive ahk_group g_1by1 ; ---------------------------- 1by1
#IfWinActive ahk_group g_Desktop ; ---------------------------- Desktop
#IfWinActive ahk_group g_Console ; ---------------------------- DOS box
#IfWinActive Command Prompt ; ---------------------------- CMDexe windows
#IfWinActive ahk_group g_Excel ; ---------------------------- Excel
#IfWinActive ahk_group g_FinePrint ; ---------------------------- FinePrint
#IfWinActive ahk_group g_freeC ; ---------------------------- freeCommander
#IfWinActive ahk_group g_FileZilla ; ---------------------------- FileZilla
#IfWinActive ahk_group g_Firefox ; ---------------------------- FireFox
#IfWinActive ahk_group g_FrontPage ; ---------------------------- FrontPage
#IfWinActive ahk_group g_Winhelp ; ---------------------------- Windows help (.hlp)
#IfWinActive ahk_group g_HTMLhelp ; ---------------------------- HTML help (.chm)
#IfWinActive ahk_group g_IE ; ---------------------------- IE
#IfWinActive ahk_group g_MediaPC ; ---------------------------- Media Player Classic
#IfWinActive ahk_group g_SCaptor ; ---------------------------- SSC
#IfWinActive ahk_group g_VLC ; ---------------------------- VLC
#IfWinActive ahk_group g_MSOPM ; ---------------------------- Microsoft Office Picture Manager
#IfWinActive ahk_group g_NotepadPP ; ---------------------------- Notepad++
;#IfWinActive ahk_group g_Outlook ; ---------------------------- Outlook
#IfWinActive ahk_group g_PPT ; ---------------------------- PowerPoint
#IfWinActive ahk_class RXClientClass ; ---------------------------- Reflection session
#IfWinActive ahk_class RxMainWindow ; ---------------------------- Reflection UI
#IfWinActive ahk_group g_RemoteD ; ---------------------------- Remote Desktop, TS
#IfWinActive ahk_group g_Project ; ---------------------------- Project
#IfWinActive ahk_group g_Visio ; ---------------------------- Visio
#IfWinActive ahk_group g_WinSCP ; ---------------------------- WinSCP
#IfWinActive ahk_group g_Word ; ---------------------------- Word
#IfWinActive ; End of specific hotkeys