I'd like to create a small script using osascript in Mac OS X Snow Leopard to emulate pressing the Escape key on the keyboard. How is this most easily done?
osascript -e 'tell application "System Events" to key code 53'
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago