我是applescripting的新手:
我使用 UI 浏览器来查找我想要单击的流程元素。我发现我要点击的元素是“UI element 10”
这就是我带来的:
tell application "System Events"
tell application process "nameofmyapp" to tell window 1
click UI element 10
end tell
end tell
但它返回:“缺失值”。
我该如何解决这个问题?