I need some guidance on how to write a Perl, VBScript or JavaScript code to display the hex value of a key stroke. I need this mainly for multimedia keys in keyboard like mute, volume up, volume down, etc.
Luckily somebody already wrote it: See http://www.javascriptkit.com/javatutors/javascriptkey2.shtml