Created
September 23, 2011 18:00
-
-
Save shreyansb/1238027 to your computer and use it in GitHub Desktop.
make a facetime call using python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os; import appscript; import time | |
os.popen('open facetime://6461234567') | |
appscript.app('FaceTime').activate(); time.sleep(2); appscript.app('System Events').keystroke('\r') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?