ahk_class is case-sensitive Topic is solved

Share your ideas as to how the documentation can be improved.
User avatar
mikeyww
Posts: 26972
Joined: 09 Sep 2014, 18:38

ahk_class is case-sensitive

22 Mar 2024, 06:00

Use ahk_class ClassName in WinTitle to identify a window by its window class.
Source: WinTitle & Last Found Window | AutoHotkey v2
Change to:

Use ahk_class ClassName in WinTitle to identify a window by its case-sensitive window class.
vmech
Posts: 356
Joined: 25 Aug 2019, 13:03

Re: ahk_class is case-sensitive

22 Mar 2024, 15:37

@mikeyww
Window titles are case-sensitive, except when using the i) modifier in a RegEx pattern.
https://www.autohotkey.com/docs/v2/misc/WinTitle.htm#WinTitle
Please post your script code inside [code] ... [/code] block. Thank you.
User avatar
mikeyww
Posts: 26972
Joined: 09 Sep 2014, 18:38

Re: ahk_class is case-sensitive

22 Mar 2024, 16:47

ahk_class is not a window title. It is a window class. This could be clarified, such as, "Unless specified as case-insensitive through a regular expression, ahk_class is case-sensitive."
User avatar
Ragnar
Posts: 614
Joined: 30 Sep 2013, 15:25

Re: ahk_class is case-sensitive  Topic is solved

01 Apr 2024, 03:59

Thanks for the suggestion. I've changed this.

Return to “Suggestions on Documentation Improvements”

Who is online

Users browsing this forum: No registered users and 79 guests