Skip to content

UIA crash fix, multi-threading mode etc.

Compare
Choose a tag to compare
@vasily-v-ryabov vasily-v-ryabov released this 21 Jan 18:21
· 441 commits to master since this release
fd27458

Bug Fixes

  • Final fix for ValueError: NULL COM pointer access (UIA backend).

Enhancements

  • Multi-threading mode (MTA) for comtypes is enabled by default, if it's not initialized
    by another library before importing pywinauto.

  • Method get_value() has been added to EditWrapper in UIA backend.

  • Method scroll() has been added for all UIA controls which have ScrollPattern implemented.

  • Added methods is_minimized/is_maximized/is_normal/get_show_state for UIAWrapper.

  • Added handling in-place controls inside ListView control and (row, column) indexing
    in a grid-like table mode. Examples:

        auto_detected_ctrl = list_view.get_item(0).inplace_control()
    
        combo = list_view.get_item(1,1).inplace_control("ComboBox")
        combo.select("Item name")
    
        edit = list_view.get_item(3,4).inplace_control("Edit")
        edit.type_keys("some text{ENTER}", set_foreground=False)
    
        dt_picker = list_view.get_item(2,0).inplace_control("DateTimePicker")

GitHub downloads