Window Information Tools

asobjc
applescript

#1

Note -- Several tools are posted in this thread -- click the links below to find them.

Window Discovery Tool v1.0
    · Report Window Properties of a Specific User-Designated Application

Window Discovery Tool → Windows System Events Can See v1.0
    · Report All Windows System Events (AppleScript UI-Scripting) Can See.

Front Application – Window Properties Report v1.00
    · Report Properties of All Windows of Frontmost Application.
    · The report is better organized than macro WDTv1.0.


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)


Can KM sense when the OmniFocus Quick Entry window is active?
Front Window Analysis Tool for System Events
Move mouse to alert window
Tile all floating windows within an application
FileMaker Script Debugger, Data Viewer, Layout Objects window, etc
List All Windows and Properties of App (KM8)
#2

Cool! Thanks.


#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)


If any window title of Safari contains x then
List All Windows and Properties of App (KM8)
Working with the Pomodoro Menulet Application
Can KM detect Witch's popup panel (popup window)?
If any window title of Safari contains x then
Best Macro List
FileMaker Script Debugger, Data Viewer, Layout Objects window, etc
#4

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!


#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)


"Click at Found Image" Works from Editor, not in practice
#12

Thanks, Chris.

One question: How is this macro/script different from the one you posted at the top of this thread?


#13

The output is more clearly organized, and it targets the frontmost app instead of making the user insert the app-name in the first action.


#14

Then wouldn't it be better to replace your original macro with this one?
I'm concerned that many users may not ever page down to see your new version.