AppleScript和系統事件有問題。AppleScript - 系統事件錯誤:禁用輔助設備訪問
我已在「系統偏好設置」的「通用訪問」首選項窗格中選中「啓用對輔助設備的訪問」。
當我嘗試:
arch -i386 osascript -e 'tell application "System Events" to get the position of every window of every process'
我有這樣的錯誤:
System Events got an error: Access for assistive devices is disabled. (-25211)
你有什麼想法?
非常感謝
謝謝,我會努力this.Last的問題,我怎麼能確定窗口在船塢(隱藏),或在前面? – Tokytok 2012-04-13 13:38:37