News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

"Play Video" VC then into standby mode, not working

Started by SteveB69, December 17, 2015, 05:56:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SteveB69

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

#1
Please put your xml into a code box when posting xml to the forum.

QuoteI 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.