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?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
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