Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - SteveB69

Pages: [1] 2
1
I've recently re-installed windows 7 & thus re-installed VC.

I've restored my VC back up but am finding anything to do with windows navigation (page up, page down, scroll down, minimise, maximise window etc) is not working & I get the error message in the history windows "can't find command: The given key was not present in the dictionary."

I'm also getting this error?
"unexpected error:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at eval_g.eval_ᜀ(String A_0, Int32 A_1)
   at eval_g.eval_ᜀ(String A_0,"

Any advice as to what I have done wrong?

2
Feature Requests / Feature Suggestions
« on: January 08, 2016, 09:05:46 PM »
Adore this program. Few suggestions that would make my life a tad easier.

1. System tray icon. With all the gunk I have in my sys tray it's hard to figure out which is VC. Where as the utorrent icon is beautifully easy to spot.

2. In the voxcommands window could a file save be added. This would be easier to sort out a Save VC command which at the moment I have implemented using mouse control but it's a bit hit & miss.

3. Alphabetical order. Is it possible to arrange trees, sub directories & commands in alphabetical order?

4. Cloud backup & sync with 2nd PC. Yeah okay I'm pushing it!!!


3
I'm trying to get VC to respond to a given name & respond, "Hello {1}" & then a custom reply for that name.

If I do this using a payload range then all works fine.

But if I do it using a payload.xml it doesn't work. Obviously because I am doing something wrong.
I have created an xml, attached, & in the phrase put the name of the person & in the value put out the text I would like read.

But can't figure out how to tell VC to do this. If I use only the payload.xml then nothing happens.

The code I've upped has a payload list & a payload range, currently the payload range works if I keep the payload xml disabled or optional.

Is there a way to do this via the payload xml as this would be easier for future lists than have to add a logic block for each individual name.

Any chance of a pointer to get me going?

(I did also try using a payload dictation regular but again got no joy & anyway this method would be a bit more hit and miss with the names heard.)

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<command id="533" name="Say hello to {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;tony</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>Ahh, hello {1}. It is my pleasure to make your acquaintance</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;steve</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>Ahh, hello {1}. It is my pleasure to make your acquaintance</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;karyn</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>Ahh, hello {1}. It is my pleasure to make your acquaintance</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <phrase>Jenkins Say hello to</phrase>
  <payloadList>Steve, Karyn, Tony</payloadList>
</command>

Since typing the above I've tried using a payload get phrase but that's doing nothing on the Save & Execute, but here's the code for that, really not sure which way to go with this.

An example tied to two names would be brill???

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<command id="533" name="Say hello to {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>PayloadXML.GetPhrase</cmdType>
    <params>
      <param>D:\VoxCommando\payloads\sayhelloto.xml</param>
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>{LastResult}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Jenkins Say hello to</phrase>
  <payloadList>Steve, Karyn, Tony</payloadList>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="True">payloads\sayhelloto.xml</payloadFromXML>
</command>

4
Strange one, VC won't play my default Win 7 voice.

I have Ivona Brian installed & set as my default voice.

As I understand it VC uses the default Windows TTS voice, I can't see any options within VC to change the voice & what I read on the wiki makes me believe the TTS voice is windows controlled.

I've run VC as VoxCommando.exe & as VoxCommandoSP.exe but TTS remains what sounds like Microsoft Anna?

Any ideas anyone? Thanks

5
Other Plugins / Questions about GgCal plugin
« on: January 04, 2016, 12:07:15 AM »
Thought I'd post this here rather than start a new topic?

I'm going through the excellent you tube Google Calendar Plug In but VC history is not giving me an GCaleventalert in the history.

If I click Get Event or GGCal set timer via the ggcal plugin I get the information in a dialogue box ala the tutorial, but the event does not show up in the VC history window???
I'm running VC 2.2.1.2 & GCal plugin V3.

Anyway I have copied the above code & whilst modifying it I'm trying to understand what each bit does.

{PF 1} Why is this used in the show OSD as all it does is show up as {PF.1} & when I delete it the command works fine without?
{Match 1} Am I right this will read out whatever has been

Lastly is there a way to say, "what's on my calendar on Friday", I imagine this would be done using the payload.xml but not sure what value I give to a day? Or is this as mentioned elsewhere a case of getting into the python plugin?

Oh & lastly lastly, is there a way to create a new line for the OSD rather than have all information showing on one. Checked the wiki OSD section & searched the forum but couldn't find.

So the below code is what I have done & it's working fine.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<command id="139" name="What's on my Google Calendar {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Each event for that day is returns as a match: {Match.1}, {Match.1} etc. Currently will use your default calendar feed.">
  <action>
    <cmdType>GgCal.GetDay</cmdType>
    <params>
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>{Match.{i}}</param>
      <param>4000</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>{Match.{i}}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType />
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>What's on my Calendar, Do I have any appointments</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="True">payloads\Google days.xml</payloadFromXML>
</command>

6
Am following the payload creation on the wiki page - http://voxcommando.com/mediawiki/index.php?title=File:Payload_remindme.png
I can figure out the TTS bit but what command do I use for vc to trigger the event after the minutes I say?


7
I have a Page Up command that uses the phrase "Page Up" Or "Go Up"

If I say Page Up all works, if I say Go Up, VC recognises the command, sends it to the history but doesn't go up
Any ideas please?
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<command id="360" name="Page Up" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="50" loop="False" loopDelay="0" loopMax="0" description="Page Down">
  <action>
    <cmdType>SendKeys</cmdType>
    <params>
      <param>{PGUP}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Go Up, Page Up</phrase>
</command>

8
VoxCommando Basics and Core Features / Paid Help Sought
« on: January 02, 2016, 01:13:47 AM »
Are there any experts (of course there are) who could help me create a few commands in VC via team viewer or similar screen sharing software.
Happy to pay an hourly rate.

I'd like to under these payloads, how to get VC to react differently depending on what I say.
Plus things like Page Down x 3
Navigating around Chrome better
And more

This is great software, it must be I bought it, but I'm finding it hard to progress..

9
VoxCommando Basics and Core Features / Page Up / Down Multiple Times
« on: January 01, 2016, 11:35:10 PM »
Sorry I know this is basic to you experts but I've hunted around & can't figure it.

How do I tell VC to Page Down 2, 3 or 4 times?

I've popped the code below & the payload is
Value - Phrase
1 - Page Down
2 - Page Down
3 - Page Down
4 - Page Down

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<command id="697" name="Page Down (Number)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>SendKeys</cmdType>
    <params>
      <param>{PGDN}{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Page Down {1}</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\Page Up-Down Mulitple.xml</payloadFromXML>
  <payloadRange>1,4</payloadRange>
</command>

****************************************************
Update, I've tried eliminating the payload.xml & using a payload range 1,4 but VC just sends the command once.
Do I need a payload xml for this?
I'm finding with a payload.xml VC doesn't recognize commands but with a payload range of 1,4 it will recognize the command but will only Page Down once.
So Page Down 2 & the VC history displays "Send.Keys{PGDN}{2}"

Been twiddling on this for about 2 hrs but just can't get it :-(

This is where I'm at...
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<command id="697" name="Page Down" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>SendKeys</cmdType>
    <params>
      <param>{PGDN}{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Page Down, Go Down</phrase>
  <payloadRange>1,4</payloadRange>
</command>




10
VoxCommando Basics and Core Features / OSD Display Time
« on: January 01, 2016, 11:09:40 PM »
I was wondering if there is a way to reduce the amount of time the OSD stays on screen for, looked al over the options but can't find anything.

11
Can anyone advise how to use shortuct keys such as ] [ ~ # as they don't appear in the list for inout or send keys & when I entered the key manually into the {} it didn't work.
What I need is a shortcut for Alt + ] - but this doesn't work {ALT}({]})

12
Hi Kalle

This topic is aimed at you although of cause anyone else is welcome...

Thanks for your video tutorials on you tube, I love VC & am y=trying to get to gips with it, as a non coder it's a bit of a puzzle at times. Your video the Human Touch, I have watched it several times but I am stuck at certain points, any chance you could help?

1. 2.29min. What is the payload list you have placed under VoxCommando - Listen used for, does this have any part of VC giving you different answers>? I'm not following the point of optional phrases?

2. In the edit command, you don't mention the other 2 logic commands you added, why do these both have {1} in them, would they not pick up from Good Afternoon being {2}?

3. Edit Commands again, why does logic command 2 & 3 have 2 different sayings available?

4. I've created a payload & added it to the command tree. My payload has a phrase "Good Morning" & a value of "well good morning back"

Now when I say Hey Jeniffer Good Morning VC recognises & runs the command but no TTS happens.
When I say Hey Jeniffer Good Afternoon / Evening VC comes up with command unrecognised?

Any thoughts...

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.9-->
<command id="409" name="Good Day" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>VC.On</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;Good Morning</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>{1}Good Morning Steve</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;Good Afternoon</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>{1}Good Afternoon Steve</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;Good Evening Steve</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>{1}Good Evening Steve</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <phrase>Hey Jenniffer</phrase>
  <payloadList optional="true">Good Morning, Good Afternoon, Good Evening</payloadList>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\personality.xml</payloadFromXML>
</command>

13
So just watching the VoxCommando Tutorial 1A Editing and Building  tutorial & I note you can put a 2nd phrase in that must be either spoken or toggled to optional. So wondering what the point of this feature is?

Unless by using the optional phrase one can get VC to do something different than if the optional phrase isn't spoke.

So if I say what time is it, VC will say that, if I say what time is it Please, VC will add a more personal reply to the time?

I've put what I've one below, can anyone help please?

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.9-->
<command id="461" name="Time" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="80" loop="False" loopDelay="0" loopMax="0" description="Simple command to retrieve time and date and announce with a respective flare.">
  <action>
    <cmdType>TTS.SpeakSync</cmdType>
    <params>
      <param>{DtCustom.h:mmtt}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;Please</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>OK Steve</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <phrase>What is the time, what's the time, what time is it</phrase>
  <phrase optional="true">Please</phrase>
</command>

14
I don't use any music software other that winamp & windows file explorer.

I have all my music in e:\My Music
Is there a way to use VC like this so if I say, play Hound Dog by Elvis Presley it will?

I have no idea where to start on this, I gather it needs to scan & create an xml of my music directory but...???

15
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>

Pages: [1] 2