On keypress question

I’m trying to get a - [COLOR=Blue]on (keyPress “<enter>”)[/COLOR] - to work for the numbers 1,2,3 , etc.

I’ve looked up the ASCII key code values, but it doesn’t seem to work. Is there a certain way that you have to put the ASCII value between the [COLOR=Blue]<>[/COLOR]?