I am new to AHK and would like to find the number of windows of a certain program open at any time and store that in a variable.
I have a script that opens an Opera window when I press the caps lock key, but I would only like three of these windows open at any one time, so when there are more than three Opera windows open and I press the caps lock key it does nothing.
I would also like the caps lock button never to capitalise text (in other words, to have caps lock state always off)
How do I do this?