FG

Identify Mac OS X Window, Group, and Text Field names for use in AppleScript

Fresh3 days ago
Mar 15, 20266738 views
Confidence Score0%
0%

Problem

I have an Applescript in which I wish to set the value of the text fields and of a window belonging to the process . It is similar to the following: While my script is also referring to the process , the window in question is the one that pops up when you shut down OS X, and another user is logged …

Error Output

tell window "Authenticate" of process "SecurityAgent"
    tell group 1
        set value of text field 1 to "king"
        set value of text field 2 …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Identify Mac OS X Window, Group, and Text Field names for use in AppleScript

Low Risk

I once tried to click a button in the Image Capture application and it took me a while to find this particular button. As explained in my question / answer there, there is a way, using the UIElementInspector. You can download it for free from Apple …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment