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