Well, I couldn't exactly get it to work with the xml that was provided in that thread. But I did figure out how to make it work with a simulated mouse press. I found that I can input x,y coordinates for the mouse and simulate a left click. So I just automated the mouse cursor to click the Ok Google mic. I wanted to figure this out because Google Voice searches seem to be more reliable than the MS voice recognition software. For example, if I say "Google search Stargate," MS comes up with some other weird word. But if I use Google voice search it picks it up perfectly. Google just seems to be much more reliable.
I think now I want to figure out how I can select a search result via voice.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.8-->
<command id="248" name="Google Ok Google" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Launch.OpenURL</cmdType>
<params>
<param>http://google.com/search?sourceid=navclient&q=</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>3000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Sound.PlayWav</cmdType>
<params>
<param>C:\Users\Ricky\Desktop\clicking.wav</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Mouse.MoveAbsolute</cmdType>
<params>
<param>1230,410</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Mouse.LeftClick</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>5000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Google search</phrase>
</command>