Accessing Hype UI buttons using Applescript and System Events

Hi,

We are trying to access the Hype UI using Applescript and System Events.

The menus items are straighforward to select, but how can we select/click on Inspector buttons such as "Capture Poster Image" ?

Thanks in advance.

That's a good question. Accessibility Inspector seems to have some issue getting the hierarchy of the inspector items when I try to target it, and I can't easily find its location otherwise.

Maybe you could have a function that recursively searches through all window elements and tries to find one matching a specific title?

@jonathan Or you could write and add a library to Hype... :grin:

1 Like