You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.5 KiB
36 lines
1.5 KiB
<pywinauto.application.WindowSpecification object at 0x03D50D70>
|
|
>>> tttt=tt.window(handle=132456).window(handle=132454)
|
|
>>> tttt.wrapper_object()
|
|
<win32_controls.ButtonWrapper - 'Caption', Button, 132454>
|
|
>>> tttt.wrapper_object().draw_outline()
|
|
>>> tttt.wrapper_object().draw_outline()
|
|
>>> ttt.draw_outline()
|
|
>>> tt
|
|
<pywinauto.application.WindowSpecification object at 0x03D50D70>
|
|
>>> tt.wrapper_object().draw_outline()
|
|
>>> ttt.draw_outline()
|
|
>>> tttt.wrapper_object().draw_outline()
|
|
>>> tttt.wrapper_object().draw_outline()
|
|
|
|
>>> app=pywinauto.Application()
|
|
>>> app
|
|
<pywinauto.application.Application object at 0x046B2FD0>
|
|
>>> app.connect(title_re=".*Notepad.*")
|
|
<pywinauto.application.Application object at 0x046B2FD0>
|
|
>>> tt=app.window(title_re=".*Notepad.*")
|
|
>>> tt
|
|
<pywinauto.application.WindowSpecification object at 0x03D50D70>
|
|
>>> dir(tt)
|
|
>>> tt.wrapper_object().children()
|
|
|
|
bindings:
|
|
https://www.python-course.eu/tkinter_events_binds.php
|
|
identify tree view row
|
|
https://stackoverflow.com/questions/45008580/tkinter-treeview-identify-on-right-click-event-returns-previous-right-clicked-ro
|
|
treeview demo
|
|
https://knowpapa.com/ttk-treeview/
|
|
control_id and control_type мешают ctrl_index (работают совместно на фильтрованном списке) - учтено в подготовке спецификации элемента
|
|
|
|
,"control_id":lTempObjectInfo.control_id
|
|
|
|
"rectangle":{"left":lTempObjectInfo.rectangle.left,"top":lTempObjectInfo.rectangle.top,"right":lTempObjectInfo.rectangle.right,"bottom":"test"} |