Edited 2023/01/26 00:07 CDT -ccs
⠀⠀New macro in post #15
Note -- Several tools are posted in this thread -- click the links below to find them.
Hey Folks,
Sometimes you need more information about an application's windows than Keyboard Maestro can provide.
This macro produces a more comprehensive report and uses TextEdit to display that in a table.
Although it's possible to get quite a lot more information still, we'll start with this.
(This macro should work on just about any version of Mac OS X.)
-Chris
Window Discovery Tool v1.0.kmmacros (5.9 KB)
6 Likes
ccstone
December 13, 2016, 12:26pm
3
Hey Folks,
Keyboard Maestro cannot see various non-standard window-types, but that doesn't stop users from wanting to be able to test for them at times.
System Events can sometimes come to the rescue.
This macro lists every window visible to System Events by application.
To use:
Open the window you want to work with.
Run the macro.
It will take a few seconds to open the report in TextEdit.
Look for the related application.
See if the window you want to work with is listed.
If it IS listed then you have some options and can ask for help if you need it.
If it is NOT listed then unfortunately you're probably out of luck.
** Mission Control spaces are not comprehensively supported by AppleScript, so it's best to have only one space open when testing.
-Chris
Window Discovery Tool → Windows System Events Can See v1.0.kmmacros (9.6 KB)
4 Likes
Chris -
Great tool! I’ve been wanting this for so long!
FYI, the results are limited to the current Mission Control “Desktop”. I actually like this, but you should probably mention it (unless you did and I’m blind, which is entirely possible).
Thanks!
1 Like
ccstone
December 5, 2018, 7:28pm
11
Hey Folks,
The latest window property information tool.
This macro reports window properties for ALL windows that System Events can see in the Frontmost application.
It should run on macOS Yosemite or later.
-Chris
Front Application – Window Properties Report v1.00.kmmacros (9.7 KB)
6 Likes
ccstone
January 26, 2023, 6:16am
15
Hey Folks,
Do you use Keyboard Maestro's window manipulation tools?
Would you like to be able to get window position and size information more quickly and en mass? Then this macro is for you.
-Chris
Window List with Window Frame of Front Application v1.00.kmmacros (13 KB)
Macro Image
8 Likes
apiary
December 23, 2024, 9:10am
16
Ahhhh, this is very good. I was trying to make a tile all windows on screen(s) (just fit them in the available space) and the first thing I wanted to do was merge all windows for apps that have more than one open, very useful standard os feature not talked about much. And yes, I did notice that Apple script can’t always determine this every time. The merge windows as selected from the menu for example, will only work for windows on that display.