Front Window Analysis Tool Using AppleScript System Events (List UI Elements)

@CJK, I had a play with your brilliant script and came up with something that might be worth developing.

It uses the relevant data in the output of your script to generate an AppleScript tell block.

Here's a quick demo with Logic Pro:

CleanShot 2023-09-21 at 00.27.01

I'm certain there will be circumstances under which it will fail, but I think it might have some potential.

4 Likes