ahk icon indicating copy to clipboard operation
ahk copied to clipboard

exact param in win_wait

Open forestsource opened this issue 3 years ago • 1 comments

I need a 'exact' param in win_wait() like find_window().

Thank you!

forestsource avatar Jul 14 '22 18:07 forestsource

Hmmm. These features are implemented somewhat differently. find_window performs its filtering in Python on all windows, which allows use of the exact parameter.

It may be possible, but it's tricky to do with win_wait because we rely on AutoHotkey's WinWait to wait for the window. I think maybe changing the matching mode on the AHK side (conditionally, on exact) may work 🤔

Or, allow providing the matching mode, like we do with coord mode in most other places.

spyoungtech avatar Jul 15 '22 21:07 spyoungtech

match mode can now be specified in v1

spyoungtech avatar May 02 '23 05:05 spyoungtech