News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

Help me with my command

Started by ElbeCoder, March 04, 2016, 10:57:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ElbeCoder

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.4-->
<command id="339" name="What did he say" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Go back 10 seconds">
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>vk:{1}</param>
    </params>
    <cmdRepeat>{2}</cmdRepeat>
  </action>
  <phrase>What did he say</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\1directions.xml</payloadFromXML>
  <payloadRange>1,1</payloadRange>
</command>




I am trying one thing. If im saying What did i miss, what did he say, i missed that. And then kodi would go back like 5,10 seconds. whats wrong

jitterjames

Why do you have a payloadXML and payloadRange in your voice command?

What do you want your macro to do?

It looks like you tried to modify another command but without understanding how it works.

jitterjames

If you are not comfortable reading the wiki then you should watch some tutorials in order to get to grips with some of the basics:

https://www.youtube.com/playlist?list=PL5EB7936BE8F07625

ElbeCoder

Yeah. but i dont want to make much my own commands. i just want to make one. If  i say What did he say? It would reverse or skip back the video or music for 10 seconds.

ElbeCoder

I have watched that video several times.. i tried. Put input send keys and then key left. Doesnt work. Doesnt do anything. it does take the input key left when saying what did he say..

ElbeCoder

Got it working. But is there anyway to just go back 5 seconds