ESC 키를 창을 닫을 수있는 응용 프로그램을 만들려면 어떻게해야합니까? 또는 정말로 어떤 열쇠 (나는 원할 경우 변경할 수 있습니다).ESCAPE (ESC) 키 닫기 창 만들기
도와주세요. 고마워요
여기 내가 가지고 있고 작동하도록 얻을 수 없습니다.
-- close window with "ESC"
tell application "System Events"
tell application "Finder" to activate
key code 53
end tell
beep 3
고마워요! 현재 활성화 된 창 그러나
tell application "System Events"
tell application "Finder" to activate
keystroke "w" using command down
end tell
을 닫습니다 특별히 시스템 바로 가기 (명령 + W)이있다 B-