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.
我想用 pywinauto 写一个自动点击脚本。我知道我可以使用 app.ListView2.Select(4) 来选择一个项目。所以我尝试使用 select() 或 Check(),但它不起作用。
如何双击一个项目?
ListView在pywinauto中继承了HwndWrapperhasDoubleClick()方法,试试看。还要确保您已经尝试Select(item)过ListView. (你提到过select())
ListView
HwndWrapper
DoubleClick()
Select(item)
select()