ExcludeTitle clarification

Share your ideas as to how the documentation can be improved.
Descolada
Posts: 1202
Joined: 23 Dec 2021, 02:30

ExcludeTitle clarification

Post by Descolada » 23 Aug 2023, 07:22

Unless it's mentioned somewhere else in the docs and I couldn't find it, I recommend adding a paragraph to the WinTitle article specifying that ExcludeTitle does not follow normal WinTitle rules: ahk_ criteria don't work and only regular window titles are allowed. Matching still follows TitleMatchMode though.
lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: ExcludeTitle clarification

Post by lexikos » 25 Aug 2023, 03:18

It seems to be a common misconception, even though it specifically says "WinTitle Parameter" in the title, "This parameter can be" below that, and "specify for WinTitle a window title or other criteria" (including the emphasis) on many pages. People can't help making assumptions, I suppose.

Matching still follows TitleMatchMode though.
Fair point. "Windows whose title or text contains ExcludeTitle or ExcludeText will not be considered." does not in any way indicate that TitleMatchMode would affect the result, although it is documented clearly on the SetTitleMatchMode page.
Post Reply

Return to “Suggestions on Documentation Improvements”