Skip to content

Instantly share code, notes, and snippets.

@acslocum
Created April 11, 2013 17:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acslocum/5365386 to your computer and use it in GitHub Desktop.
Save acslocum/5365386 to your computer and use it in GitHub Desktop.
Make a call from skype, over and over, on OSX
#!/bin/bash
# Tell Skype to dial a number
if [ -z "$1" ]
then
echo "usage: skypecall PHONE_NUMBER NUMBER_OF_CALLS"
exit 65
fi
counter=$2
while [ $counter -gt 0 ]
do
osascript -e "tell application \"Skype\" to set theResult to send command \"CALL $1\" script name \"thescript\""
sleep 10
counter=$(($counter - 1))
done
@acslocum
Copy link
Author

Skype will pop up a security dialog the first time this is run, asking if you're sure you want to allow this to run.

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