So, I was reading all through the documentation looking for a: WinGetActiveClass Since there is a WinGetTitle And a WinGetClass Turns out: WinGetClass's behavior IS to get the class of the active window. This sample code will display the class name of the active window when you press the enter key: enter:: { ;theClass = class of active window. WinGetClass, theClass, A msgBox %theClass% }
Goodbye to All That (2014)
9 years ago
No comments:
Post a Comment