Can anyone tell me how to emulate the escape key? I have tried InputKeys.Send {ESC} InputKeys.Send {ESCAPE} SendKeys {ESC} and SendKeys {ESCAPE}
Inputkeys.Send {ESCAPE}
if you use the parameter helper then you won't need to guess.
Quote from: jitterjames on April 18, 2014, 03:41:42 PM
Inputkeys.Send {ESCAPE}
if you use the parameter helper then you won't need to guess.
Hi James,
Inputkeys.Send {ESCAPE} is what I tried. Not working for me for some reason though. I am trying to use to to end calls using google voice.
Works fine for me (testing with Google Voice). Make sure the correct window has focus and that it actually responds to escape as expected.
Who knows.... Using same thing as you. Window with google voice is in focus. I give the command and nothing happens. I physically push the esc key and the call ends.
Tis a mystery, particularly without seeing your command or your history window to know what it's doing. This test command is working for me, but I haven't tried it with a live call.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.2.1-->
<command id="1145" name="Escape GV" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Launch.RawParam</cmdType>
<params>
<param>C:\Program Files (x86)\Mozilla Firefox\firefox.exe</param>
<param>https://mail.google.com/mail/?voice&pli=1#inbox</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>7000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>InputKeys.Send</cmdType>
<params>
<param>{ESCAPE}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>do the thing with Google Voice</phrase>
</command>