Skip to content

Instantly share code, notes, and snippets.

@kimhunter
Created April 26, 2012 13:16
Show Gist options
  • Save kimhunter/2499478 to your computer and use it in GitHub Desktop.
Save kimhunter/2499478 to your computer and use it in GitHub Desktop.
Call someone with Skype
property phoneNumber : "55522332"
tell application "Skype" to activate
delay 20
tell application "System Events"
tell application process "Skype"
try
tell window "Dial Pad" to click
tell window "Dial Pad"
keystroke phoneNumber
click button "Call"
end tell
on error
keystroke "2" using command down
delay 2
tell window "Dial Pad"
keystroke phoneNumber
click button "Call"
end tell
end try
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment