example using notepad window that i change name to test abc black. Can change the middle part to any 3 letters lowercase and will activate it
so if i had 2 notepad windows named "test xyz blue" and "test abc black" and the middle part of each changed would be like this to activate them
uses regular expression to find the windows
the [a-z]{3} means any 3 letters a-z lowercase
so if i had 2 notepad windows named "test xyz blue" and "test abc black" and the middle part of each changed would be like this to activate them
uses regular expression to find the windows
int w1=win("test [a-z]{3} black" "Notepad" "Notepad" 0x200)
act w1
1
int w2=win("test [a-z]{3} blue" "Notepad" "Notepad" 0x200)
act w2