<?xml version="1.0" encoding="utf-8"?>
<!--C:\voxcommando-EN\PY\VcGroup_Call to prayer.xml-->
<!--This commandGroup xml file was exported from VoxCommando-->
<VoiceCommands version="2.2.1.4">
    <commandGroup open="True" name="Call to prayer" enabled="True" prefix="" priority="0" requiredProcess="" description="">
        <command id="315" name="load Python script" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>PY.ExecFile</cmdType>
                <params>
                    <param>PY\prayerTimes.py</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.TriggerEvent</cmdType>
                <params>
                    <param>today</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <event>vc.loaded</event>
        </command>
        <command id="316" name="What are today's prayer times" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="50" loop="False" loopDelay="0" loopMax="0" description="myPrayTimes(lat,long,utc) --&gt; replace lat, long, utc with your location information. lat=your latittude, long = your longitude, utc = your time zone's offset from GMT. (e.g., in winter, Montreal, NYC, &amp; Washington, D.C. are -5 from GMT, so UTC will be -5)">
            <action>
                <cmdType>PY.ExecString</cmdType>
                <params>
                    <param>myPrayTimes(45,-73,-4)</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.StopEventTimer</cmdType>
                <params>
                    <param>today</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.SetEventTimer</cmdType>
                <params>
                    <param>12:30 AM</param>
                    <param>today</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>show me prayer time</phrase>
            <event>today</event>
        </command>
        <command id="394" name="Announce time for prayers" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>OSD.ShowText</cmdType>
                <params>
                    <param>It's time for prayer: {1} begins at {2}.</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>TTS.Speak</cmdType>
                <params>
                    <param>It's time for prayer: {1} begins at {2}.</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>Sound.PlayWav</cmdType>
                <params>
                    <param>C:\voxcommando-EN\mecca-mulla_www.al-mostafa.us.wav.</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>Sound.SetVol</cmdType>
                <params>
                    <param>1</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>SMTP.Send</cmdType>
                <params>
                    <param>email here</param>
                    <param>Time for prayer: {1} at {2}</param>
                    <param>Time for prayer: {1} at {2}</param>
                </params>
                <cmdRepeat>0</cmdRepeat>
            </action>
            <event>praytime.*</event>
        </command>
    </commandGroup>
</VoiceCommands>