hey guys, I hope its ok with the admin to have a single thread with all my questions as I learn. If not you can just delete and I will post a thread for each.
Can someone look at <?xml version="1.0" encoding="utf-16"?>
<commandGroup open="False" name="3_music on" enabled="False" prefix="" priority="0" requiredProcess="" description="">
<command id="940" name="confirm.foobar" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>VC.DisableGroup*</cmdType>
<cmdString>1</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>Hard drive music sir?</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Hard drive music sir?</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<event>confirm.foobar</event>
</command>
<command id="973" name="confirm.youtube" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>Launching youtube playlist sir.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Launching youtube playlist sir.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<event>confirm.youtube</event>
</command>
<command id="941" name="foobar" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>Starting your hard drive playlist,... enjoy</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>Starting your hard drive playlist,... enjoy</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch</cmdType>
<cmdString>C:\Users\mike\Desktop\mikesmusic\mikesmusic.fpl</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Window.Focus</cmdType>
<cmdString>foobar2000</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>music</phrase>
</command>
<command id="951" name="youtube*" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>Youtube then sir?</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Youtube then sir?</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<event>Confirm.Cancel.foobar</event>
</command>
</commandGroup>
and explain why the initial event [confirm.foobar] triggers an event, but the event [youtube] does not? Is it because VC only creates confirmation events for actions, and not events? If you trigger the script using "music" you will see what I mean.
btw, I know that I can fix most of these questions by taking a different (simpler) approach, but I want to learn the program in and out so I can eventually do advanced stuff.
thanks guys
-mike