Can be either ClassNN (the classname and instance number of the control) or the name/text of the control, both of which can be determined via Window Spy. When using name/text, the matching behavior is determined by SetTitleMatchMode.
i read those docs to mean:
1. for the 4th (Control) parameter, if you use Classname, it won't use TitleMatchMode, and i guess it will have to be an exact Classname match
2. if you use name/text of control, it will use TitleMatchMode
and obv for the 5th (WinTitle) param, TitleMatchMode will always work
suppose i have a button in another window with classNN =
ExampleButtonXClass02, and i try to pass a classname ButtonXClass02, it won't work since it will not match the partial classnameSetTitleMatchMode, Regex ControlGet, visi, Visible,, ButtonXClass02, ahk_id %hwnd%
i've also tried to trigger the "name/text" matching like this, but it also didn't work:
SetTitleMatchMode, Regex ControlGet, visi, Visible,, ahk_class ButtonXClass02, ahk_id %hwnd%




