4
Google 크롬 브라우저 (Mac의 경우)에서 https : //google.com에서 Command + Shift + 마침표를 눌러 Google 음성 검색을 활성화 할 수 있습니다.Google 크롬의 음성 검색 키보드 단축키를 트리거하는 OSX 스크립트
URL이 http://google.com 인 경우 검색 상자가있는 크롬 탭에로드되어 있다고 가정하면 다음 applescript가 작동하지 않아야합니까?
tell application "Google Chrome"
activate
tell application "System Events" to keystroke "." using {command down, shift down}
end tell
가 작동하지 않습니다 어떤 이유
, 예상대로 다음 스크립트는 텍스트 검색 필드를 채우기 때문에 왜 이해가 안 :
tell application "Google Chrome"
activate
tell application "System Events" to keystroke "this test works as expected"
end tell
은 어떻게 구글을 트리거 할 수 있습니다 스크립트로 음성 검색?
감사합니다! 이 훌륭한 작품 – user1385729