topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 4:20 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Send call commands to skype with FARR... skype:+1555-555-5555?call  (Read 7730 times)

Saturday24

  • Participant
  • Joined in 2010
  • *
  • Posts: 21
    • View Profile
    • Donate to Member
I use voice recognition in conjunction with find and run robot for lots of fun automated tasks.... one of them is triggering calls to phone numbers/contacts via skype.

If I add the following text ( skype:+1555-555-5555?call ) to my URL field in my browser and press enter it will launch skype and call the number... All good so far.

I'm hoping to create an alias in FARR that will pass this call command text over to the browser... or potentially directly to skype.

Thanks for any suggestions on how to go about this. Thanks very much.

2018-11-27_16-03-41[1].jpgSend call commands to skype with FARR... skype:+1555-555-5555?call

KodeZwerg

  • Honorary Member
  • Joined in 2018
  • **
  • Posts: 718
    • View Profile
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #1 on: November 28, 2018, 02:37 AM »
Hi there, I dont think the way you think it will work.
You could Alias to "Call_Name_X" and execute it. (as fixed statement for skype:number call)
But adding on-the-fly different numbers.... I doubt it.

Saturday24

  • Participant
  • Joined in 2010
  • *
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #2 on: November 28, 2018, 02:58 AM »
Hi there, I dont think the way you think it will work.
You could Alias to "Call_Name_X" and execute it. (as fixed statement for skype:number call)
But adding on-the-fly different numbers.... I doubt it.
My voice recognition software in conjunction with a Python plug-in called vocola does a great job of adding in the on-the-fly different numbers. Maybe a simpler way to explain it would be that I need to get some text that is not a URL over to the URL bar of the browser. So just passing some text from find and run robot over to the browser URL field.

Thanks for any suggestions.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #3 on: November 28, 2018, 05:05 AM »
You should be able to do this easily with farr, and make a skype call alias to help you.. the only tricky part might be the encoding of the characters for :+-?
let me experiment and see..

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #4 on: November 28, 2018, 05:00 PM »
I don't use Skype so haven't tested the below, but you could give it a try.

According to the unofficial skype blog at http://www.skaip.org...rs-for-the-new-skype you can start a Skype call from the command line with a parameter like this
--_="skype:echo123?call"

So I suspect that an alias looking something like this will work
Alias: skype call
regex: ^skype (.*)$
results: C:\folder\skype.exe --_="skype:$$1?call"

But with the correct path to skype.exe or whatever the executable is named. Also maybe the " characters may need to be escaped.

Once that is tweaked to work you then input this into FARR and press enter to start the call
skype +1555-555-5555

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #5 on: November 28, 2018, 05:11 PM »
The other trick, if the $$1 string has characters that aren't being encoded right, would be to try $$u1 or $$h1 instead of $$1.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #6 on: November 29, 2018, 04:09 AM »
mouser, it could help users if there were more examples on this help page
https://www.donation...dline_parameters.htm
Also consider adding a tip there about the $$u1 or $$h1 variables or a link to that information.

Saturday24

  • Participant
  • Joined in 2010
  • *
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #7 on: November 30, 2018, 05:38 PM »
Thanks very much for the team work on this! I got it working... here are my settings:

Alias Name
skype call

Regular Expression
^call (.*)$

Result ( update your path to your skype location )
C:\Program Files (x86)\Microsoft\Skype for Desktop\Skype.exe --_="skype:$$h1?call"

Screenshot:
https://stqsfya1eeou...8-11-30_15-33-25.jpg


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #8 on: November 30, 2018, 06:03 PM »
Awesome!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Send call commands to skype with FARR... skype:+1555-555-5555?call
« Reply #9 on: November 30, 2018, 06:04 PM »
By the way you could change your alias result to display a bit nicer by changing the result to

"Skype call $$1 | C:\Program Files (x86)\Microsoft\Skype for Desktop\Skype.exe --_="skype:$$h1?call"

That stuff before the | is what is displayed in the results window.