<?xml version="1.0" encoding="utf-8"?>
<!--C:\Users\naomi\Desktop\VcGrp_GoogleNow-like Wolfram.xml-->
<VoiceCommands version="">
    <!--this is an exported VoxCommando group-->
    <commandGroup open="True" name="GoogleNow-like Wolfram" enabled="True" prefix="" priority="0" requiredProcess="" description="">
        <command id="641" name="wolfram" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>Scrape</cmdType>
                <cmdString>http://api.wolframalpha.com/v2/query?appid=[YOUR_API_KEY]&amp;input={1}&amp;format=plaintext</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>Results.RegExSingle</cmdType>
                <cmdString>&lt;plaintext&gt;([^&lt;].*?)&lt;/plaintext&gt;</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>LastActionSuccess</ifType>
                <ifParams>&amp;&amp;</ifParams>
                <then>
                    <action>
                        <cmdType>Results.MatchConcat</cmdType>
                        <cmdString>{CR}&amp;&amp;2</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Results.Replace</cmdType>
                        <cmdString>&amp;quot;&amp;&amp;"</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Results.Replace</cmdType>
                        <cmdString>&amp;apos;&amp;&amp;'</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Results.Replace</cmdType>
                        <cmdString> |</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Results.RegExReplace</cmdType>
                        <cmdString>km.*kilometers.&amp;&amp;kilometers</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>OSD.ShowText</cmdType>
                        <cmdString>{LastResult}.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>{LastResult}.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else>
                    <action>
                        <cmdType>OSD.ShowText</cmdType>
                        <cmdString>I'm sorry, Wolfram doesn't know the answer to: {CR}{1}{CR}.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>OSD.AddText</cmdType>
                        <cmdString>Shall I google that for you?</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>I'm sorry, I don't have an easy answer. Shall we see if Google's feeling lucky?</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>VC.TellVox</cmdType>
                        <cmdString>Google look up {1}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </else>
            </if>
            <phrase>Wolfram, Magic Eightball, Computer</phrase>
            <payloadDictation>payloadDictation: Regular</payloadDictation>
        </command>
        <command id="643" name="search for" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>Launch.OpenURL</cmdType>
                <cmdString>http://www.google.com/search?ie=UTF-8&amp;oe=UTF-8&amp;sourceid=navclient&amp;btnI=1&amp;q={1}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>search for, Google look up</phrase>
            <payloadDictation>payloadDictation: Regular</payloadDictation>
        </command>
        <command id="667" name="Google map" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>Launch.OpenURL</cmdType>
                <cmdString>https://www.google.com/maps/preview/place/{1}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>Locate, show the map of, where is, take me to</phrase>
            <payloadDictation>payloadDictation: Regular</payloadDictation>
        </command>
        <command id="660" name="weather outside" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>WUnder.GetCurrent</cmdType>
                <cmdString />
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;rain</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Better grab your umbrella|You'll need your rain jacket, I'm afraid.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;snow</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Looks like snow. Better bundle up.|I hope you have your mitts and scarf handy.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;High of -</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.Speak</cmdType>
                        <cmdString>Bloody cold out.|It's nippy out there.|Well, it's winter, no surprise.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <action>
                <cmdType>OSD.addText</cmdType>
                <cmdString>{LastResult}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>TTS.SpeakSync</cmdType>
                <cmdString>{LastResult}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>What's it like out, What's the weather, Tell me the weather</phrase>
        </command>
    </commandGroup>
</VoiceCommands>