I’m trying to workout how to click the Change Password… button in System Preferences Accounts window
I have this so far but it doesn’t seem to like the Press Button
Can anyone help?
– OPEN SYSTEM PREFERENCES
tell application “System Preferences”
--- OPEN ACCOUNTS PREFERENCE PANE
set the current pane to pane "Accounts"
tell application “System Events”
tell process “System Preferences”
Press button “Change Password…” of window “Accounts”