System Events, Key Code and Keystroke from Doug's AppleScripts
SystemEvents,KeyCodeandKeystrokeKeycodesarethenumericcodesrepresentingthekeysonyourkeyboard.KeystrokesaretheactualUnicodekeyrepresentations.Youcanusethesekeycodenumbersorkeystrokestringstoemulatekeypr