I have the following code and I still cant get it to catch the "Enter" key press:
Code: Select all
global bobby
on keyDown theKey
put theKey after bobby
put "*" after field "Login"
end keyDown
on backspaceKey
delete the last char of field "Login"
delete the last char of bobby
end backspaceKey
on returnKey
answer "returnKey"
end returnKey
on enterKey
answer "enterKey"
end enterKey
on returninField
answer "returninField"
end returninField
on enterinField
answer "enterinField"
end enterinField
Many Thanks,
Googie.