MacosUseSDK

Do any Keyboard Maestro maestros have any thoughts about MacosUseSDK?

[Edit: in case it wasn't obvious, the potential relevance of this to the forum is that of integrating this software in Keyboard Maestro macros]

Library and command-line tools to traverse the macOS accessibility tree and simulate user input actions. Allows interaction with UI elements of other applications.
[…]

AppOpenerTool

  • Purpose: Opens or activates a macOS application by its name, bundle ID, or full path. Outputs the application's PID on success.
    […]

TraversalTool

  • Purpose: Traverses the accessibility tree of a running application (specified by PID) and outputs a JSON representation of the UI elements to stdout.
    […]

HighlightTraversalTool

  • Purpose: Traverses the accessibility tree of a running application (specified by PID) and draws temporary red boxes around all visible UI elements. Also outputs traversal data (JSON) to stdout. Useful for debugging accessibility structures.
    […]

InputControllerTool

  • Purpose: Simulates keyboard and mouse input events without visual feedback.
    […]

VisualInputTool

  • Purpose: Simulates keyboard and mouse input events with visual feedback (currently a pulsing green circle for mouse actions).
    […]

That looks very cool and getting elements like that seems like a very handy thing. I don't know how you would pull info out to implement into Keyboard Maestro though. Thanks for sharing.

1 Like

Normally I would try such things out for myself before posting, but I thought for this one that I would ask if anyone already had a KM perspective on it. I have a note to look into it all further when I have time!

1 Like