I need to send the down / key up keyword for numeric keys to an application using AppleScript. However, the commands:
key down "6"
delay 1
key up "6"
send keystrokes as if they were coming from a numeric keypad. I need to be interpreted as coming from a series of numbers at the top of the keyboard.
Ive also tried using (ASCII character 54)instead of a literal without success.
Note. I need to enter a key for sending - sending keystrokeor key codenot.
source
share