User interface 系统首选项中Flash Player更新的Applescript检查
我已经到了这里:User interface 系统首选项中Flash Player更新的Applescript检查,user-interface,applescript,User Interface,Applescript,我已经到了这里: tell application "System Events" tell process "System Preferences" tell window "Flash Player" click radio button "Advanced" of tab group 1 tell scroll area "Advanced" click button "Check No
tell application "System Events"
tell process "System Preferences"
tell window "Flash Player"
click radio button "Advanced" of tab group 1
tell scroll area "Advanced"
click button "Check Now" of window 2
end tell
end tell
end tell
end tell
但我无法让applescript单击“立即检查”按钮。
我想我需要添加另一个
告诉应用程序“系统事件”
来单击“高级”选项卡的第二个区域,但到目前为止,我只收到了错误这对我来说非常有效:
tell application "System Events"
tell process "System Preferences"
tell window "Flash Player"
tell tab group 1
click radio button "Advanced"
tell scroll area 1
click button "Check Now"
end tell
end tell
end tell
end tell
end tell
在这种情况下,该工具非常有用