Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 SO.Plz 的新手。如果我错了,请指导我。我正在编写一个苹果 UI 脚本来单击 Mac 应用程序的按钮,但问题是包含该按钮的窗口没有名称(空字符串“”,来自 UIElementInspector)。请帮我看看如何引用窗口。
您通常可以使用索引,例如window 2。可以使用类似的东西在事件日志中查看项目列表
tell application "System Events" to get windows of application process "foo"
我试图在表格中的一个元素中包含一个链接。
当我在没有它的情况下进行链接时,它可以正常工作,但是当我想将它作为表格的一部分包含时,它就不起作用了。
这行代码有效:
for(int i=0;i<tableWeb.size()