VoxCommando

Help and Support (Using VoxCommando) => Other Plugins => Topic started by: Haddood on March 16, 2015, 05:13:32 AM

Title: Skype plugin questions
Post by: Haddood on March 16, 2015, 05:13:32 AM
1. Is there is a way to turn on video for an ongoing call ? I know using uri one can start a video call ...
2. I am no longer receiving  Skype.clsFinished.cltIncomingP2P� Event. Skype version 7.0.0.102
3. Does anybody knows where I can download older Skype versions. Or if some has some old version is willing share (I do not think there is copyright issues here). Version 6.22.64.106 will be great

Tx for any insights
Title: Re: Skype plugin questions
Post by: jitterjames on March 16, 2015, 08:55:45 AM
1: I will look but I am 99.9% sure there is not.  Keep in mind that the SDK for Skype is ancient and has not been updated for many many years. (Although I would be surprised if Skype did not already have video when the API was made.)  Perhaps you can try to use a uri instead for this one thing.

2: Tested this just now with VC 2.1.4.2 and Skype 7.2.0.103 and both Skype.clsFinished.cltOutgoingP2P and Skype.clsFinished.cltIncomingP2P are working normally.

3: I believe oldversions.com is legit.  I would still exercise caution when downloading and installing to avoid adware though.
Title: Re: Skype plugin questions
Post by: nime5ter on March 16, 2015, 09:43:30 AM
I don't think the uri method works to turn on the webcam if a voice call is already in progress -- at least they don't document anywhere how one might do it. Nor do they offer a keyboard shortcut for this.

If you're really desperate, I guess you could try to emulate the required mouse-click. Not the most elegant or reliable solution, but I just tested it and it's working OK for me.

Title: Re: Skype plugin questions
Post by: nime5ter on March 16, 2015, 06:03:52 PM
@Haddood -- totally off topic, but I don't think I've ever told you how hilarious your forum signature is. It makes me laugh every time I see it.
Title: Re: Skype plugin questions
Post by: Haddood on March 17, 2015, 03:00:20 AM
1: I will look but I am 99.9% sure there is not.  Keep in mind that the SDK for Skype is ancient and has not been updated for many many years. (Although I would be surprised if Skype did not already have video when the API was made.)  Perhaps you can try to use a uri instead for this one thing.

2: Tested this just now with VC 2.1.4.2 and Skype 7.2.0.103 and both Skype.clsFinished.cltOutgoingP2P and Skype.clsFinished.cltIncomingP2P are working normally.

3: I believe oldversions.com is legit.  I would still exercise caution when downloading and installing to avoid adware though.

tx ... upgrading to 7.2.0.103 solved the issue ... what ever it was ... as well this will make current version good for the job required.

I tried the uri ... as nime5ter said it does not work to initiate video in middle of a call

thanks again for all the support

@Haddood -- totally off topic, but I don't think I've ever told you how hilarious your forum signature is. It makes me laugh every time I see it.

 ;D ;D

Title: Re: Skype plugin questions
Post by: Haddood on May 21, 2015, 04:07:47 AM
I upgraded to skype 7.4.0.102 .. and all events from skype stopped ... although I can see that vox commando is enabled in the api access window.

anybody using the same version? anybody having same issue?
Title: Re: Skype plugin questions
Post by: jitterjames on May 21, 2015, 04:25:05 PM
Skype events in VC are working fine for me with Skype version 7.4.0.102
Title: Re: Skype plugin questions
Post by: Haddood on May 21, 2015, 05:28:25 PM
k ... tx james ... I have to find the time and do new installation of windows  :bonk :bonk
Title: Re: Skype plugin questions
Post by: jitterjames on May 21, 2015, 05:45:47 PM
I seriously doubt that is necessary to fix this issue,  but maybe you have others as well.

For this you probably just need to reregister vc with Skype.
Title: Re: Skype plugin questions
Post by: Haddood on May 22, 2015, 10:32:39 PM
I tried ... But no luck ... However, if you give me the instructions I will try it again
Title: Re: Skype plugin questions
Post by: nime5ter on May 22, 2015, 10:37:41 PM
I believe this is covered in the Skype plugin tutorial video posted on the wiki here: http://voxcommando.com/mediawiki/index.php?title=Control_Skype
Title: Re: Skype plugin questions
Post by: Haddood on May 23, 2015, 06:46:50 AM
tx nime5ter ... uninstalling skype and reinstalling it solved the issue.

I have another question...
when a call comes and VC do skype.answer, the first try do not work (error: not ringing) then the incoming call get generated again, so it start the command again and in the second time it picks up ...

is this normal behaviour ... or it is just my PC? is this related to issue of we have to send the first text message twice to be picked up by VC?

thanks for any feedback
Title: Re: Skype plugin questions
Post by: jitterjames on May 23, 2015, 08:35:33 AM
Too bad the method I proposed in the video did not help you.  It is easier than reinstalling Skype. Anyway,  good that you got it working your own way.

is this normal behaviour ... or it is just my PC? is this related to issue of we have to send the first text message twice to be picked up by VC?
This is not the same issue since the event is clearly working and the other issue was the event not working.

The Skype.Answer action is throwing the error "not ringing"?  In that case maybe it is a bug in Skype.  The event is being triggered too fast before Skype has fully processed the fact that there is an incoming call.  I don't know if it is "normal" behaviour but you might be able to fix it with a short pause at the beginning of the macro, or you could just leave it so it picks up on the second event since that seems to be working fine.

Does this happen every time or is it intermittent?

** I edited this post
Title: Re: Skype plugin questions
Post by: jitterjames on May 23, 2015, 10:23:12 AM
I tested this myself and it does the same thing.

The thing is, it generates the second event and picks up the call, and all this happens in about 1/20th of a second.  I don't know why you felt the need to report this.  What's the problem?  This took me about an hour to investigate.  Please keep in mind that my time is limited and valuable to me.
Title: Re: Skype plugin questions
Post by: Haddood on May 23, 2015, 08:16:43 PM
James ...thank you for the feedback ... and the time you invested...
1. this happens everytime ..
2. the command I posted is a simplified version, just to demonstrate the issue. the real command will check the caller, if it is me or my girlfriend it will save the current input / output devices, then change those to link skype to VC ... so we can command it through skype ... if, let's say my dad is calling none of that happens and I can pick up skype call normally and talk with my dad and see him on the big screen  8)...
once the call is finished, things are reversed to what it was before the call... now since the command is running twice ... the variables that store the previous IO for audio get over written and when the call ends ... nothing is restored ...

I will try to find a solution ...
again many thanks for all the support you give
Title: Re: Skype plugin questions
Post by: nime5ter on May 24, 2015, 08:52:41 AM
It's a Skype bug that James will probably be able to work around programmatically when he has the time.

In the meantime, you should be able to use the error generated by the first event trigger to make sure that your command works properly.

That is, you can use the fact that Skype.Answer fails with the first event, like so:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<command id="598" name="Workaround Skype bug" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Skype.Answer</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="True">
    <ifType>LastActionSuccess</ifType>
    <ifParams>&amp;&amp;</ifParams>
    <then>
      <action>
        <cmdType>VC.StopMacro</cmdType>
        <params />
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>Results.SetVar</cmdType>
        <params>
          <param>setyourvariables etc.</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <event>Skype.clsRinging.cltIncomingP2P</event>
</command>
Title: Re: Skype plugin questions
Post by: jitterjames on May 24, 2015, 11:18:14 AM
OK.  Actually the first action not working was due to a mistake on my part.  I had to reverse the order of two lines of code.  :bonk

I don't know why Skype generates the event twice in a row though.

I will fix both issues in the next release.
Title: Re: Skype plugin questions
Post by: Haddood on May 24, 2015, 02:39:54 PM
Thanks ... As usual your support is beyond the usual :)