Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3673396
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:43:41+00:00 2026-05-19T02:43:41+00:00

So when I look at a UI item in UIElementInspector, I see stuff like

  • 0

So when I look at a UI item in UIElementInspector, I see stuff like AXButton. Great, now I want to perform an action on that AXButton, but the problem is I end up doing something like this: (yes I have actually done this, stupid me)

perform action "AXPress" of pop up button 2 of group 1 of group 1 of group 1 of group 3 of UI element 1 of scroll area 1 of group 2...

Now I have to manually try out what button # of what group # of whatever in order to see where that UI item belongs so I can do stuff on it. What I’m wondering is if there’s some less kludgey way of seeing what numbers I should put in, as sometimes I can’t even find where some AXButton is hiding manually.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:43:42+00:00Added an answer on May 19, 2026 at 2:43 am

    Yep, UIElementInspector is difficult to use. I don’t use it because it’s too difficult for me. I’d suggest trying UI Browser here.

    It’s a lot easier to find the exact path to stuff… but it’s not free. The only other way to find things is to let applescript find it. Suppose you wanted to find a button titled “Press” in a window. You could do something like this…

    set theButton to first button of window 1 whose title is "Press"
    click theButton
    

    Obviously sometimes there’s groups in a window (and other stuff), and the button may be in one of them, so you may have to do something like this…

    set theButton to first button of every group of window 1 whose title is "Press"
    click theButton
    

    I hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an array MyArrayOfItems of Item objects with objects that look like this:
Take a look at this: http://thebekker.dk/_skole/GFeksamen/ You can see the 2nd menu item show
look at this fiddle: http://jsfiddle.net/ugxNK/ I want that the first list element is in
I have an XML document that contains a series of item nodes that look
I want to put a 3d curved look in a list item I have
I have a string that is something like this: $string = Item 1|Item 2|Item
I want to look for an item in an array and if i find
I would like the home item look like the back button in the ActionBar
So the final menu will look something like this: Item B Item B-1 Item
I want to add a Menu Item Type for my component. Have a look

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.