Add ahk_hwnd to work with hidden windows

Propose new features and changes
tmplinshi
Posts: 1589
Joined: 01 Oct 2013, 14:57

Add ahk_hwnd to work with hidden windows

16 Sep 2020, 01:45

When using commands like WinGetTitle/WinMove, there is no need to turn on DetectHiddenWindows if you have the hwnd.

It would be very useful to have a ahk_hwnd similar to ahk_id, but does not require you to turn on DetectHiddenWindows.
lexikos
Posts: 7057
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Add ahk_hwnd to work with hidden windows

16 Sep 2020, 22:30

That would be entirely redundant (in v2).
The WinTitle parameter of various functions can now accept a HWND (must be a pure integer) or an object with a Hwnd property, such as a Gui object. DetectHiddenWindows is ignored in such cases.
tmplinshi
Posts: 1589
Joined: 01 Oct 2013, 14:57

Re: Add ahk_hwnd to work with hidden windows

17 Sep 2020, 00:30

Thanks lexikos. That's a nice feature of v2.

Return to “Wish List”

Who is online

Users browsing this forum: electrone77 and 9 guests