I am trying to get the window size for a specific running application. I am launching the macro with a hotkey combination. The macro I have is below. It is returning the window information for KM instead of the applicatIon I am trying to reference (screen shot also below). How do I get the information to display for the specific application?
Not sure if my reply will help at all. Taken from this answer by gglick:
%WindowSize% will give you a window's size in pixels, %WindowPosition% will give you its coordinates, and %WindowFrame% will give you both. See https://wiki.keyboardmaestro.com/token/Window_Tokens for more information.