on rawKeyDown k if numToChar(k) is among the items of "1,2,3,4,5,6,7,8,9,0" then if (numToChar(k) + the text of me) <= 10 then enableButtons (numToChar(k) + the text of me) end if else if k = 65288 then pass rawKeyDown end if end rawKeyDown