KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Outputting parentheses in SendKeys
Topic Summary:
Created On: 12/28/2020 01:11 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Outputting parentheses in SendKeys   - Alan Cantor - 12/28/2020 01:11 PM  
 Outputting parentheses in SendKeys   - PG LTU - 12/28/2020 01:23 PM  
 Outputting parentheses in SendKeys   - Edgar - 12/28/2020 04:46 PM  
 Outputting parentheses in SendKeys   - Alan Cantor - 12/28/2020 08:35 PM  
 Outputting parentheses in SendKeys   - Lunis Orcutt - 12/28/2020 09:36 PM  
 Outputting parentheses in SendKeys   - Edgar - 12/29/2020 11:43 AM  
 Outputting parentheses in SendKeys   - jmcvay - 12/31/2020 12:41 PM  
 Outputting parentheses in SendKeys   - Lunis Orcutt - 12/31/2020 07:24 PM  
 Outputting parentheses in SendKeys   - Edgar - 01/01/2021 11:54 AM  
 Outputting parentheses in SendKeys   - jmcvay - 01/02/2021 03:36 PM  
 Outputting parentheses in SendKeys   - Edgar - 01/03/2021 11:02 AM  
 Outputting parentheses in SendKeys   - Edgar - 01/03/2021 11:16 AM  
 Outputting parentheses in SendKeys   - PG LTU - 12/31/2020 07:25 PM  
Keyword
 12/28/2020 01:11 PM
User is offline View Users Profile Print this message


Alan Cantor
Top-Tier Member

Posts: 4032
Joined: 12/08/2007

I'm writing a command that outputs several strings. Some strings are wrapped in parentheses:

Hello (World)

The Advanced Scripting code is this:

SendKeys "Hello " & "(" & "World" & ")"

But when I run the command, the parentheses are missing.

So I tried this instead:

SendKeys "Hello " & Chr$(40) & "World" & Chr$(41)

The result is the same: Hello World vs. Hello (World).

The command works if I substitute SendSystemKeys or SendDragonKeys for SendKeys. But shouldn't it work regardless?

I'm using DPI 15.61.

Statistics
31988 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 4 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 609 guests browsing this forum, which makes a total of 613 users using this forum.

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