<?xml version="1.0" encoding="utf-8"?>
<!--L:\Users\BrandtsW7\Downloads\VC950XBMC\VC950ExBasic\export\VcGrp_toggle hotkeys.xml-->
<VoiceCommands version="0.950">
    <commandGroup name="toggle hotkeys" enabled="True">
        <command id="230" name="toggle hotkeys" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>ProcessRunning</ifType>
                <ifParams>Photoshop&amp;&amp;</ifParams>
                <then>
                    <action>
                        <cmdType>Window.Focus</cmdType>
                        <cmdString>Photoshop</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Window.Maximize</cmdType>
                        <cmdString />
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>VC.DisableGroup</cmdType>
                        <cmdString>Word hotkeys</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>VC.EnableGroup</cmdType>
                        <cmdString>Adobe hotkeys</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>VC.Pause</cmdType>
                        <cmdString>100</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>DxInput.KeyCombo</cmdType>
                        <cmdString>{leftcontrol}&amp;&amp;{N}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>DxInput.KeyPress</cmdType>
                        <cmdString>return</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>I have it open in photoshop.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>OSD.ShowText</cmdType>
                        <cmdString>open a new window in photoshop</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Results.SetVar</cmdType>
                        <cmdString>photoshop</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>ProcessRunning</ifType>
                <ifParams>WINWORD&amp;&amp;</ifParams>
                <then>
                    <action>
                        <cmdType>Window.Focus</cmdType>
                        <cmdString>WINWORD</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Window.Maximize</cmdType>
                        <cmdString />
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>VC.DisableGroup</cmdType>
                        <cmdString>Adobe hotkeys</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>VC.EnableGroup</cmdType>
                        <cmdString>Word hotkeys</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>DxInput.KeyCombo</cmdType>
                        <cmdString>{leftcontrol}&amp;&amp;{N}</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>I have it open in word.</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>OSD.ShowText</cmdType>
                        <cmdString>open a new window in word</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                    <action>
                        <cmdType>Results.SetVar</cmdType>
                        <cmdString>word</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <if ifBlockDisabled="False" ifNot="True">
                <ifType>(A)Contains(B)</ifType>
                <ifParams>{LastResult}&amp;&amp;word-photoshop</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>sorry, there running no of these programs to open a new window</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else />
            </if>
            <phrase>open a new window</phrase>
        </command>
    </commandGroup>
</VoiceCommands>