KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: KB command help!
Topic Summary: Need kick start on commands
Created On: 09/27/2010 10:33 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 KB command help!   - Chatty Cathy - 09/27/2010 10:33 AM  
 KB command help!   - GDS - 09/27/2010 11:26 AM  
 KB command help!   - Chatty Cathy - 09/27/2010 11:45 AM  
 KB command help!   - Lunis Orcutt - 09/27/2010 01:03 PM  
 KB command help!   - Chatty Cathy - 09/27/2010 01:19 PM  
 KB command help!   - Chatty Cathy - 09/30/2010 08:36 AM  
 KB command help!   - Chucker - 09/30/2010 09:06 AM  
 KB command help!   - Lunis Orcutt - 10/01/2010 11:02 AM  
 KB command help!   - Chatty Cathy - 10/07/2010 09:27 PM  
Keyword
 09/27/2010 10:33 AM
User is offline View Users Profile Print this message

Author Icon
Chatty Cathy
New Member

Posts: 16
Joined: 09/12/2010

I apologize for not having the time at present to dedicate to properly learning KB commands.  If someone could help kick start me in the right direction I would be greatful. 

This is what I am trying to do:

  1. Remove one word to the right.
  2. Replace that deleted word with two words.

I have looked over the KB commands and tried to replicate some of the actions but to no avail.

When I use this: 

HeardWord "select","that"
SendSystemKeys "{Ctrl+Shift+Right+Del}"
Wait 250
SendSystemKeys "The consumer"

I get this: 

{Ctrl+Shift+Right+Del}The consumer

I have some experience with commands and text expanding software, but I am trying to replace some of my text expander software keystroke commands with voice commands.

Thanking you in advance for your help.

Edited to add:  I am an editor and work with existing text. 

 

 

 



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

Love my Knowbrainer 2011 Rev E - DNS Premium 11.5- Windows 7 Professional 64-bit - RAM - 6.00 GB - Processor - Intel Core i5 CPU 650@3.20 GHz - Headset - Spectra USB Transcription - Microphone - USB 6-in-1 TableMike - MS Office 2007

 09/27/2010 11:26 AM
User is offline View Users Profile Print this message

Author Icon
GDS
Top-Tier Member

Posts: 748
Joined: 01/16/2009

It seems to me that your second line is too crowded. That is, you want "Control + Shift + Right" to be one action (the keystrokes that select one word to the right), and you want "delete" to be a second action.

Try SendSystemKeys "{Ctrl+Shift+Right},1"

SendSystemKeys "{Del}"

 The ",1" is a "true" statement. That is, when you're doing two or more consecutive SendKeys (or SendSystemKeys) actions, adding "true" will make it so the second line of keys isn't sent until the first one is complete. Is it necessary? Not always. Is it helpful? More often than not.

Edited to add: since you're working with existing text, maybe a simpler approach would be to work with "find and replace." Depending on your text editor, there are keystrokes to bring up that function. In Microsoft Word 2003 and 2007, it's "Control + H"



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

Eric Wright At work: DNS 12 Pro. At home: DNS 11.5 Pro,  KnowBrainer 2011, and Utter Command by RedStart Systems; Dragon Dictate 3 for Mac


 


Appetite for Dictation - My Blog

 09/27/2010 11:45 AM
User is offline View Users Profile Print this message

Author Icon
Chatty Cathy
New Member

Posts: 16
Joined: 09/12/2010

Thank you kindly for your reply and suggestions.  I will try your example and see what results in a bit.  Unfortunately, due to recent physical disabilities, I am having to convert my prior keyboard shortcuts and text expander commands to voice commands to aid in my continued ability to work.  This work is production-based pay and I am looking for the fastest way to edit existing text via voice commands.  I have found DNS and KnowBrainer to be very helpful.  I'm sure there is much I have not explored yet in the these softwares and hope to learn a great deal in the near future. 

Again, thank you. 

  



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

Love my Knowbrainer 2011 Rev E - DNS Premium 11.5- Windows 7 Professional 64-bit - RAM - 6.00 GB - Processor - Intel Core i5 CPU 650@3.20 GHz - Headset - Spectra USB Transcription - Microphone - USB 6-in-1 TableMike - MS Office 2007

 09/27/2010 01:03 PM
User is online View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22586
Joined: 10/01/2006

You might also try:

HeardWord "delete","next","word"
Wait 500
SendKeys "The consumer"


When possible, we try to avoid using SendSystemKeys for typing text because it types each letter one at a time.


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


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012 


 


 


 

 09/27/2010 01:19 PM
User is offline View Users Profile Print this message

Author Icon
Chatty Cathy
New Member

Posts: 16
Joined: 09/12/2010

Thank you!  I noticed that it typed each letter one at a time, but I was thrilled that I had at least gotten it to produce that much! 

Enjoy your day.   

 



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

Love my Knowbrainer 2011 Rev E - DNS Premium 11.5- Windows 7 Professional 64-bit - RAM - 6.00 GB - Processor - Intel Core i5 CPU 650@3.20 GHz - Headset - Spectra USB Transcription - Microphone - USB 6-in-1 TableMike - MS Office 2007

 09/30/2010 08:36 AM
User is offline View Users Profile Print this message

Author Icon
Chatty Cathy
New Member

Posts: 16
Joined: 09/12/2010

HeardWord "delete","next","word"
Wait 500
SendKeys "The consumer"

This works great and thanks again.  It was a big help.  One more thing and it would be perfected.  What can I add to the end of the last line to make it add a space between 2 words (consumer ___ next word), as when I use this it results in: The consumernext word. 

???  -  SendKeys "The consumer", "spacebar"

You guys are great.  Thanks for making life easier.   



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

Love my Knowbrainer 2011 Rev E - DNS Premium 11.5- Windows 7 Professional 64-bit - RAM - 6.00 GB - Processor - Intel Core i5 CPU 650@3.20 GHz - Headset - Spectra USB Transcription - Microphone - USB 6-in-1 TableMike - MS Office 2007

 09/30/2010 09:06 AM
User is offline View Users Profile Print this message

Author Icon
Chucker
Top-Tier Member

Posts: 9669
Joined: 10/10/2006

Cathy,

First, you can't put "spacebar" in a SendKeys instruction because it will only printed out as text.

Second, you can probably reduce the wait state, but you need to experiment with how short a wait is required, if at all, because generally there is very little delay that can impact on the execution of command line instructions in this type of command.

Third, avoid multiple instructions in SendKeys command.  Sometimes they work and sometimes they don't.  Since this is a very simple command, you're better off separating out SendKeys "The consumer" and add SendKeys "{Space}" on its own line.  For example, consider the following noting that I've not changed your wait state setting.

HeardWord "delete","next","word"
Wait 500
SendKeys "The consumer"
SendKeys "{Space}"

You may have to add a slight weight between the two SendKeys commands if the command spells out "The consumer" one letter at a time.  However, as Lunis' points out, SendKeys shouldn't do this.

Chuck Runquist
Technical Project Manager
VoiceTeach LLC
Home of VoicePower® Ultimate

Be careful what you wish for.  You may find that what you get is not what you expect, or what you want. - Aesop (620 BC - 700 BC modern interpretation)



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

 10/01/2010 11:02 AM
User is online View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22586
Joined: 10/01/2006

We typically overdo the wait times a bit when contributing commands so that we can be reasonably certain that they will deploy correctly but as far as adding an extra space is concerned, another option would be to simply insert an extra space between the word consumer and the last quote as follows: 

HeardWord "delete","next","word"
Wait 200
SendKeys "The consumer "


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


Click KB 2012 REV D to Download a 30 Day Evaluation of KnowBrainer 2012 


 


 


 

 10/07/2010 09:27 PM
User is offline View Users Profile Print this message

Author Icon
Chatty Cathy
New Member

Posts: 16
Joined: 09/12/2010

This command works like a charm. I used it about 200 times today, and I grinned every time I used it.

Thanks for your help.  

 



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

Love my Knowbrainer 2011 Rev E - DNS Premium 11.5- Windows 7 Professional 64-bit - RAM - 6.00 GB - Processor - Intel Core i5 CPU 650@3.20 GHz - Headset - Spectra USB Transcription - Microphone - USB 6-in-1 TableMike - MS Office 2007

KnowBrainer Speech Recognition » Commands, Scripts, and Macros - KnowBrainer » KB command help!

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

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