I really can't get my head around the use of %'s.
I'm a C and C++ (amongst others) programmer for 37 years but have difficulty with AHK variables.
Pretty much got it sorted now except for ....
Finding a window works fine until I search for a window with a "." in the desired string..
Code: Select all
SetTitleMatchMode, 2
MyTitle := "Calculator"
IfWinExist %MyTitle%
Code: Select all
SetTitleMatchMode, 2
MyTitle := "192.168.1.123"
IfWinExist %MyTitle%
"Exception Thrown"...."The following variable name contains an illegal character:"....
Code: Select all
SetTitleMatchMode, 2
MyTitle := "123"
IfWinExist %MyTitle%
Is this an implicit use of RegEx by AHK?
If that's the case, then can I disable it as I use the same variable elsewhere and don't really want to have a second variable with the necessary RegEx format?
Rod.