Example Keystroke Codes for Window Hook
jjweimer
if (sh.eventCode == 11)
//print sh.keycode
switch(sh.keycode)
case 31: // up key
break
case 30: // down key
break
case 29: // right key
break
case 28: // left key
break
case 97: // a key
break
case 99: // c key
break
case 102: // f key
break
case 104: // h key
break
case 107: // k key
break
case 114: // r key
break
case 111: // o key
break
case 108: // l key
break
endswitch
endif
//print sh.keycode
switch(sh.keycode)
case 31: // up key
break
case 30: // down key
break
case 29: // right key
break
case 28: // left key
break
case 97: // a key
break
case 99: // c key
break
case 102: // f key
break
case 104: // h key
break
case 107: // k key
break
case 114: // r key
break
case 111: // o key
break
case 108: // l key
break
endswitch
endif
Forum
Support
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More