jacexh / pyautoit

Python binding for AutoItX3.dll
MIT License
269 stars 74 forks source link

win_wait_active should mirror autoit #15

Closed bengchuan closed 3 years ago

bengchuan commented 7 years ago

The native version of AutoIt is as follows: WinWaitActive("titile","text","120")

This is what pyautoit has: @api.check(2, "timeout on wait for activate window") def win_wait_active(title, timeout=0, **kwargs):

This makes it hard to map the example in autoit to pyautoit. Besides, **kwargs is a bit overkill in this ?