Skip to content

Instantly share code, notes, and snippets.

@shreyansb
Created September 23, 2011 18:00
Show Gist options
  • Save shreyansb/1238027 to your computer and use it in GitHub Desktop.
Save shreyansb/1238027 to your computer and use it in GitHub Desktop.
make a facetime call using python
import os; import appscript; import time
os.popen('open facetime://6461234567')
appscript.app('FaceTime').activate(); time.sleep(2); appscript.app('System Events').keystroke('\r')
@JameStitel
Copy link

Hi,

I have just changed the number to be called, but when run, Facetime does open, however it says call failed. Would you have any suggestions how to deal with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment