Skip to content

Instantly share code, notes, and snippets.

@hez
Last active Oct 10, 2015
Embed
What would you like to do?
Answer Skype call
tell application "Skype"
activate
set calls to send command "SEARCH ACTIVECALLS" script name "Call Control"
set callID to last word of calls
set status to send command "GET CALL " & callID & " STATUS" script name "Call Control"
if last word of status is "RINGING" then
send command "ALTER CALL " & callID & " ANSWER" script name "Call Control"
end if
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment