Code: Select all
on keyDown theKey
if theKey is not a number then
beep
else
pass keyDown -- I'm searching on a way to limit the amount of characters ex. limit 5
end if
end keyDown
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
on keyDown theKey
if theKey is not a number then
beep
else
pass keyDown -- I'm searching on a way to limit the amount of characters ex. limit 5
end if
end keyDown
Code: Select all
on keyDown theKey
if theKey is not a number then
beep
exit keyDown
end if
if the number of chars of me = 5 then
beep
exit keyDown
else
put theKey after me
end if
end keyDown