7

Is it possible to initiate a FaceTime call with "+1 (###) ###-####" when I execute an AppleScript?

Does FaceTime support AppleScript and how can I automate the start of a call?

9

This'll do it. You can input a phone number in most normal formats. Can't say I've tried them all:

set phone_num to text returned of (display dialog "Input a phone number to call:" default answer "")
do shell script "open facetime://" & quoted form of phone_num
tell application "System Events"
    repeat until (button "Call" of window 1 of application process "FaceTime" exists)
        delay 1
    end repeat
    click button "Call" of window 1 of application process "FaceTime"
end tell
| improve this answer | |
  • Unfortunately, with the new notification services in recent macOS versions, this no longer works, just hanging, waiting for a button to appear that never does. – Darkstar Aug 12 at 6:11
  • It works for me still on macOS 10.15.6 – William T Froggard Aug 15 at 23:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .