Click to Call Scripting: "New" Skype

Modified on Mon, 1 May, 2023 at 6:22 AM

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

# http://www.skaip.org/command-line-parameters-for-the-new-skype

$DefaultCountryCode = "1"

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

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

# There's a bug in skype so we send the number twice
$Args = "--_=""skype:$PhoneNumber;$PhoneNumber;?call"""

$Args

# 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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article