FaceTime Audio Caller with Pop Up Contact List (KM 8.2.3)

Hey @appleianer,

As far as I can see you've misspelled the button name:

“Anrufenl”	should be	“Anrufen”

Does your AppleScript actually work?

Here's how I would write it:

tell application "System Events"
   tell application process "FaceTime"
      tell window "FaceTime Audio"
         tell button "Call"
            perform action "AXPress"
         end tell
      end tell
   end tell
end tell

As you can see you're dealing with the FaceTime process – not the Notification Center.

When possible It's better to call UI elements by name – it's more robust and far more readable.

** Of course there's the issue of potentially different names for UI elements in international versions of macOS. Sometimes I get around this by using element numbers, but I prefer to find out what the localized name is and use that.

-Chris

1 Like