Add an optional parameter "DetectHidden" to all window functions Topic is solved

Propose new features and changes
arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

Add an optional parameter "DetectHidden" to all window functions

24 Apr 2021, 22:01

AutoHotkey rules "Hidden windows are not detected unless DetectHiddenWindows has been turned on.", This is very necessary. Unfortunately, I need to turn off this option frequently and then restore it.

Code: Select all

t:=A_DetectHiddenWindows 
...
DetectHiddenWindows t
Frequent use makes the script cumbersome and ugly.
If we can add an optional parameter "DetectHidden" to each window function, e.g.

Code: Select all

WinActive([WinTitle, WinText, ExcludeTitle, ExcludeText, DetectHidden:=1])
Is this a good choice?
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Add an optional parameter "DetectHidden" to all window functions  Topic is solved

24 Apr 2021, 22:30

No.

There are many window functions, and they do not all have exactly the same parameters. And what about TitleMatchMode? I'll not add a fifth or sixth parameter for this.

Other options have been brought up multiple times, and even mentioned in v2-thoughts. It's just not a priority for me.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 85 guests