我正在尝试安装 Adobe Flash Player,我想检查复选框并需要单击安装按钮,我试图通过 UIElementInspector 获取窗口的全部内容,我无法获取复选框和安装按钮的内容..
我刚刚尝试使用以下脚本单击复选框,但没有成功,错误提示无法获取复选框..请建议如何检查..
tell application "System Events"
tell process "Adobe Flash Player Install Manager"
set frontmost to true
click the checkbox "I have read and agree to the terms of the Flash Player License Agreement" of window "Adobe Flash Player 11.5 Installer."
end tell
end tell
请检查以下链接以查看 Adobe Flash Player 安装程序的图像。
https://docs.google.com/document/d/1yzyBTrvi94QxjlEAlcbudOBpXiTGPEI2LA3D1iEo8Gw/编辑