Thursday, February 5, 2026

AEQuery

Mark Alldritt (Mastodon):

I’ve released a new command-line tool called AEQuery. It queries scriptable macOS applications using XPath-like expressions, translating them directly into Apple Events.

The short version: you describe what you want using a slash-delimited path, and AEQuery resolves the SDEF terminology, constructs the Apple Events, and returns the results as JSON.

[…]

The code is on GitHub. There’s also a discussion thread on MacScripter if you’ve got questions or feedback.

Previously:

Comments RSS · Twitter · Mastodon

Leave a Comment