View Single Post
Old 06-24-12, 05:38 AM   #2
runio
Watch
 
Join Date: Jul 2011
Location: Kielce, Poland
Posts: 29
Downloads: 31
Uploads: 0
Default

Quote:
Originally Posted by Fubar2Niner View Post
My guess is this is the correct route, but I have no idea about key codes etc. If anyone could help an old lag, I'd be most grateful
Just look here:
http://www.cambiaresearch.com/articl...odes-key-codes
You need to change these decimal values to hex.
So, to assign the shift-h key, you need to write:
Code:
Key0=0x48,s,"Shift+H"
Because:
the 'H' key is 72 dec = 48 hex
's' - action with the 'shift' key ('c' for the 'control' key).
Good luck.
runio is offline   Reply With Quote