Author Topic: "Play Video" VC then into standby mode, not working  (Read 1033 times)

0 Members and 1 Guest are viewing this topic.

SteveB69

  • Contributor
  • ***
  • Posts: 72
  • Karma: -1
    • View Profile
"Play Video" VC then into standby mode, not working
« on: December 17, 2015, 05:56:15 PM »
I'm trying to get the lovely VC to "Play Video" (using videolan) & on the same command put VC into standby mode. Also trying to do the same in reverse.
However VC plays the video but does not go into standby mode.

I dragged the VC Standby over from the history window but now when I click Standby manually in VC it plays the video???

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.7-->
<command id="-1" name="Actions copied from LCB">
  <action>
    <cmdType>Window.Focus</cmdType>
    <params>
      <param>vlc</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>{SHIFT}({BACK})</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>
Chances are I've searched the forum, searched the wiki & scoured You Tube but I'm just to thick to work it out without help!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: "Play Video" VC then into standby mode, not working
« Reply #1 on: December 17, 2015, 06:02:12 PM »
Please put your xml into a code box when posting xml to the forum.

Quote
I dragged the VC Standby over from the history window

I guess you don't know what events are for.
http://voxcommando.com/mediawiki/index.php?title=Events

To put VC into StandBy you must use the VC.Standby action.
http://voxcommando.com/mediawiki/index.php?title=Actions#Standby

In order to make things happen, you should always use an action of some kind.  Events are used to detect when other things have already happened.

Maybe you should watch the basic tutorials, or read the wiki a bit.
« Last Edit: December 17, 2015, 06:37:52 PM by nime5ter »