How do I make an application that I can make the ESC key close a window? Or really any key (I can change if I want to).
Please help. Thanks
Here is what I have and I can't get it to work.
-- close window with "ESC"
tell application "System Events"
tell application "Finder" to activate
key code 53
end tell
beep 3
Thanks! B-