2013-07-21 5 views

답변

2
delay 0.5 -- time to release modifier keys if the script is run with a keyboard shortcut 
tell application "System Events" 
    key code 63 -- fn 
    key code 63 
end tell 

키 코드는 Events.h 또는 my website을 참조하십시오. 애플 스크립트에서

+0

작품이있다! 우연히 사과 스크립트를 통해 폴더를 여는 방법을 알고 있습니까? 내 문제는 파일 경로의 공백이라고 생각합니다 .../Users/username/Library/Speech/Speakable Items – user2555399

0

는 파일 경로를 완벽하게하는 unixpath 즉, 콜론 (안 슬래시), 예를 들어과 디렉토리를 구분하지 않는 macpath로

tell application "Finder" 
    open folder "Macintosh HD:Users:username:Library:Speech:Speakable Items" 
end tell