KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: ' in SendKeys commands
Topic Summary: Create a SendKeys command with multiple ', how?
Created On: 10/25/2006 02:08 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 ' in SendKeys commands   - Bruce Tjosvold - 10/25/2006 02:08 PM  
 ' in SendKeys commands   - Coop - 10/25/2006 02:25 PM  
 ' in SendKeys commands   - Bruce Tjosvold - 10/25/2006 03:22 PM  
Keyword
 10/25/2006 02:08 PM
User is offline View Users Profile Print this message


Bruce Tjosvold
Top-Tier Member

Posts: 205
Joined: 10/02/2006

1 Hello all,

 I am attempting to create a command that writes out a line that has multiple ' in it.  I thought that for every ' you needed to have two ". I'm not having much success.  Does anybody know to do this?  This is the line that I want to create.

c p'^' '' 1 500 all

This is the SendKeys syntax I used.

SendKeys "c p""^"" """" 1 500   all"

This is the resulting text that was created.

c p" "" 1 500 all

 I think that I am within a rat's hair of solving this.  But rats have a lot of hairs.  The trick is to find that one specific hair that will solve my problem.

 

Thanks

Bruce

 



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

1


 


 


 



 10/25/2006 02:25 PM
User is offline View Users Profile Print this message


Coop
Member

Posts: 67
Joined: 10/04/2006

Try:

Sub Main

SendDragonKeys "c p'^' "" 1 500 all"

End Sub

It works for me.  I think the "^" is confusing SendKeys into thinking you want a Ctrl key.

You can also paste your string into a text and graphics command and that will work, as well.

 

Hope this helps,

-Coop

 10/25/2006 03:22 PM
User is offline View Users Profile Print this message


Bruce Tjosvold
Top-Tier Member

Posts: 205
Joined: 10/02/2006

1Coop,

The solution you provided worked well.  Thanks for your quick and helpful answer.

 

Bruce

 



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

1


 


 


 



KnowBrainer Speech Recognition » NaturallySpeaking Speech Recognition » ' in SendKeys commands

Statistics
27371 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 2028 on 04/05/2013 at 07:36 PM.
There are currently 75 guests browsing this forum, which makes a total of 77 users using this forum.

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