I want to make a macro that checks if front window is maximized (window covers entire screen but is not full screen).
Currently it seems I can't do that and these are my options:
Is there a way to create such an if statement?
I want to make a macro that checks if front window is maximized (window covers entire screen but is not full screen).
Currently it seems I can't do that and these are my options:
Is there a way to create such an if statement?
Just a quick reply without any testing.
Maybe you could check screensize-menubar vs. windowsize.
We need AppleScript to determine that.
Here's the script in a Macro with an KM IF test, as an example to get you started.
Questions?
~~~ VER: 1.0 2018-08-11 ~~~
Determine IF FrontMost Window is MAXimized [Example] @AS.kmmacros (5.0 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.
I believe we can do this without AppleScript (although AppleScripting a solution is never going to get an argument from me):