Window Information Tools


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)

5 Likes

Cool! Thanks.

1 Like

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)

3 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

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)

5 Likes


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

6 Likes