![]() |
KnowBrainer Speech Recognition | ![]() |


|
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 |
|
![]() |
- Bruce Tjosvold | - 10/25/2006 02:08 PM |
![]() |
- Coop | - 10/25/2006 02:25 PM |
![]() |
- Bruce Tjosvold | - 10/25/2006 03:22 PM |
|
|
|
|
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
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
1Coop, The solution you provided worked well. Thanks for your quick and helpful answer.
Bruce
------------------------- 1
|
|
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.