Python(pywin32)中使用的CheckedListBox
有谁知道如何从 python 获取项目列表并选中/取消选中 CheckedListBox 中的项目? 我发现这个对我有部分帮助。我想我已经找到了 CheckedListBox 的句柄(由 WinGuiAuto.py 列为 SysTreeView32)。
对我来说,一种用法是创建一个自动安装程序,它可以取消选中安装膨胀软件的所有复选框。
Does anyone know how to get the list of items and check/uncheck items in a CheckedListBox from python?
I've found this to help me partly on the way. I think I've found the handle for the CheckedListBox(listed as a SysTreeView32 by WinGuiAuto.py).
One usage will for my part be to create an autoinstaller that manages to uncheck all checkboxes that installs bloatware.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过使用 pywinauto 我成功地通过选择两次来检查选中列表框中的项目。
By using pywinauto I've managed to check items in a checkedlistbox by selecting them twice.