1
Feature Requests / Re: Group exclusive action
« on: August 20, 2014, 02:17:16 PM »
cool, waiting for next release
thanks
thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.5.6-->
<command id="397" name="Direction {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>InputKeys.Send</cmdType>
<params>
<param>{{1}}</param>
</params>
<cmdRepeat>{2}</cmdRepeat>
</action>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\4directions-frmonter.xml</payloadFromXML>
<payloadRange>1,10</payloadRange>
</command>
import ctypes
def sendWsrMessage(iMsg):
SendMessage = ctypes.windll.user32.SendMessageW
FindWindow = ctypes.windll.user32.FindWindowA
handle = FindWindow(b"MS:SpeechTopLevel",None)
if handle:
SendMessage(handle, 273, iMsg, 0)
return 1
else:
return 0
def wsrOn():
return sendWsrMessage(101)
def wsrOff():
return sendWsrMessage(102)