Question

Launch Powershell Script from Desktop App on Incoming call

  • 25 September 2019
  • 2 replies
  • 640 views

Hello,

We've been attempting to launch a local powershell script from the "Launch External App" feature of the windows desktop app without any success.

We know our PS1 works when run manually outside of RingCentral, but it appears RC app isn't hitting, or isn't liking any of the various paths we tried. Below are samples of things we tried (notice the usage of quotes in the examples.)

C:UsersUser NameDocumentsRingCentralScriptIncomingCall.ps1 1231231234 %P %F %l %D

"C:UsersUser NameDocumentsRingCentralScriptIncomingCall.ps1 1231231234 %P %F %l %D"

'C:WindowsSysWOW64WindowsPowerShellv1.0powershell.exe -file "C:UsersUser NameDocumentsRingCentralScriptIncomingCall.ps1 1231231234 %P %F %l %D"'

"C:WindowsSysWOW64WindowsPowerShellv1.0powershell.exe -file 'C:UsersUser NameDocumentsRingCentralScriptIncomingCall.ps1 1231231234 %P %F %l %D'"

C:WindowsSysWOW64WindowsPowerShellv1.0powershell.exe -file "C:UsersUser NameDocumentsRingCentralScriptIncomingCall.ps1 1231231234 %P %F %l %D"

C:WindowsSysWOW64WindowsPowerShellv1.0powershell.exe -file 'C:UsersUser NameDocumentsRingCentralScriptIncomingCall.ps1 1231231234 %P %F %l %D'

Any suggestions?


2 replies

What is the error message? And does it work when you manually execute the command in cmd ?

HI Tyler, there is no error on any of these tests. Yes, the script works from the command line. Is there a RC app log?

Reply