Listen to keystrokes in AppleScript -


i trying implement 2-step keystroke mechanism in applescript.

i'd me able type command-y (for example) , listen next keystroke, , execute commands depending on keystroke is.

this allow me create service listens command-y, , executes something.

is possible @ all, , if yes, how?

that's not possible via applescript. can record in script editor, cannot check key strokes , record that. think it's matter of security, since hackers use steal user names , passwords.

not sure type of commands want do, i'd go display dialog list , let user pick command want.


Comments