KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Using SendKeys some characters need to be "escaped"
Topic Summary:
Created On: 12/28/2020 04:45 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Using SendKeys some characters need to be "escaped"   - Edgar - 12/28/2020 04:45 PM  
 Using SendKeys some characters need to be   - PG LTU - 12/28/2020 04:51 PM  
 Using SendKeys some characters need to be   - Alan Cantor - 12/28/2020 08:35 PM  
Keyword
 12/28/2020 04:45 PM
User is offline View Users Profile Print this message

Author Icon
Edgar
Top-Tier Member

Posts: 1112
Joined: 04/03/2009

I'm not 100% sure that this list is exhaustive, but I know all of these require curly brace escaping:

^ + % ( { [ < / \

Note that ( { [ < are all the "opening"/"left" versions of these keys and that the "closing"/"right" versions do not REQUIRE these curly braces.

{^} {+} {%} {(} {{} {[} {<} {/} {\}

Note also that it never is a problem if you escape the character which does not require it:
{{}{a}{}}
in this instance the letter "a" is "escaped" unnecessarily (as is the closing curly brace). However, you may also do:
{{}{a 3}{}}
which will cause the letter "a" to be repeated three times.



-------------------------

-Edgar
DPI 15.3, 64-bit Windows 10 Pro, OpenOffice & Office 365, Norton Security, Shure X2U XLR to USB mic adapter with Audio Technica DB135 vocal mic, Asus X299-Deluxe Prime, Intel Core i9-7940X (14 core, 4.3 GHz overclocked to 4.9 GHz), G.SKILL TridentZ Series 64GB (4 x 16GB) DDR4 3333 (PC4 26600) F4-3333C16Q-64GTZ, NVIDIA GIGABYTE GeForce GTX 1060 GV-N1060G1 GAMING-6GD REV 2.0 6GB graphics card with 3 1920x1080 monitors

 12/28/2020 04:51 PM
User is offline View Users Profile Print this message

Author Icon
PG LTU
Top-Tier Member

Posts: 2136
Joined: 03/21/2007

+1 Thx, Edgar . . .

-------------------------




PG





Remember folks, my comments and this forum are for entertainment value only, please, no wagering or other reliance on the contents herein.  I permit no commercial use of my ideas (whether expressions or embodiments) without my written consent.

 12/28/2020 08:35 PM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4032
Joined: 12/08/2007

Thank you Edgar for the super-clear explanation!
Statistics
31988 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 793 guests browsing this forum, which makes a total of 793 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.