How can I retrieve the current windowState? I need to determine (but not change) a window state on my desktop.
I have seen that GetAttribute “Visibility” is a suggested ooption but I cannot find the definitions for the visibility property (e.g. what is 0, what is 3, what other values could this attribute return).
For my case, working with a Java app, I used the Get Attribute activity to retrieve “wndStyles” and output the result to a variable (WndStyle (declared as Int32)). I used the following test:
Check if maximized:
(WndStyle And &H01000000)<>0
I could not have done this without your guidance. Again, thank you!