我的目标是获取我使用 pywinauto 模块的应用程序的列表项
import pywinauto
pwa_app = pywinauto.application.Application()
w_handle = pywinauto.findwindows.find_windows(class_name='#32770')
window = pwa_app.window_(handle=w_handle[0])
lv = window.Children()[3]
lv.GetItem(1)
这是错误
Traceback (most recent call last):
File "C:\Users\gunhee\Desktop\getlistview.py", line 7, in <module>
lv.GetItem(1)
File "C:\Python27\lib\site-packages\pywinauto\controls\common_controls.py", line 354, in GetItem
remote_mem = _RemoteMemoryBlock(self)
File "C:\Python27\lib\site-packages\pywinauto\controls\common_controls.py", line 86, in __init__
raise ctypes.WinError()
WindowsError: [Error 5] access denied
我是我的 Windows 8 的管理员。
请帮我