Click to Call Scripting: "Classic" Skype

Modified on Mon, 01 May 2023 at 06:22 AM

Use this script to dial with "Classic" Skype.
# Click-to-Call requires the downloaded version of Skype and will not work with the version installed from the Microsoft Store

$DefaultCountryCode = "1"

if(-not $PhoneNumber.StartsWith($DefaultCountryCode) -and -not $PhoneNumber.StartsWith("+" + $DefaultCountryCode)){
 $PhoneNumber = $DefaultCountryCode + $PhoneNumber
}

if(-not $PhoneNumber.StartsWith("+")){
 $PhoneNumber = "+" + $PhoneNumber
}

$Args = "/callto:$PhoneNumber"

# This file path will need to be changed if Skype is stored in a different location on your computer
& "C:\Program Files (x86)\Microsoft\Skype for Desktop\Skype.exe" $Args

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article