KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Difficulty Creating a Complicated KnowBrainer Command
Topic Summary: Having difficulty creating a command whereby I navigate to certain places in a software application and insert text.
Created On: 02/06/2012 09:02 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 Difficulty Creating a Complicated KnowBrainer Command   - jgold55 - 02/06/2012 09:02 AM  
 Difficulty Creating a Complicated KnowBrainer Command   - Jomark - 02/06/2012 04:23 PM  
 Difficulty Creating a Complicated KnowBrainer Command   - jgold55 - 02/06/2012 06:29 PM  
 Difficulty Creating a Complicated KnowBrainer Command   - Lunis Orcutt - 02/06/2012 10:25 PM  
 Difficulty Creating a Complicated KnowBrainer Command   - jgold55 - 02/07/2012 12:42 AM  
 Difficulty Creating a Complicated KnowBrainer Command   - Lunis Orcutt - 02/07/2012 10:39 AM  
Keyword
 02/06/2012 09:02 AM
User is offline View Users Profile Print this message


jgold55
Senior Member

Posts: 84
Joined: 09/19/2010

I am trying to create a command whereby I navigate to a certain place in my software and insert text or a text macro.

The command works as far as navigating to that place but when I try to have the command insert the text, such as by saying "my exam form" nothing happens.

I am scripting this by saying "heard 3 words" "my" "exam" "form".  (This is a text macro.)  The same thing happens by trying to insert single words, i.e., nothing happens.

I would also like to be able to populate a patient demographic form which is often filled out in the same way repeatedly, i.e., same town, same state, same area code, gender, etc.  The command would automatically populate the fields and and move to the next field, fill that field out and move on.

Is such a command possible?  Can I automate such a task?

Many thanks for your help.


-------------------------
HP Pavillion dv7;
 02/06/2012 04:23 PM
User is offline View Users Profile Print this message


Jomark
Top-Tier Member

Posts: 1307
Joined: 10/19/2006

Quote:
I am scripting this by saying "heard 3 words" "my" "exam" "form".

try the following line in your script  

HeardWord "my","exam","form"

What you are saying appears to be the verbal basic command to create

HeardWord "|","","" if I understand you correctly



-------------------------
Jomark
 02/06/2012 06:29 PM
User is offline View Users Profile Print this message


jgold55
Senior Member

Posts: 84
Joined: 09/19/2010

Jomark:

Thank you for your reply. What I am trying to do is have a computer respond to "my""exam" "form" as if I said it and then it should insert the macro.

If I understand you correctly, are you saying I should say "heard one word" as if "my
exam form" is a one-word term.

When I tried to script this command, no-brainer would not even save it as if it is completely defective.

I guess my question is how can I insert text into a command involving keystrokes which navigate through the application?  Is it possible to mix the two?


-------------------------
HP Pavillion dv7;
 02/06/2012 10:25 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22772
Joined: 10/01/2006

It sounds like the 1st thing you'll need to do is move your cursor to the exact location where you need your exam form inserted. Without being able to view your template, it would be difficult to make a recommendation. Probably the most bulletproof procedure would be to create a command that jumps to the top of your document, moves down a certain number of rows and then performs a HeardWord of your my exam form command. Remember that when you perform a HeardWord of any command, it has to be EXACTLY the same as the name of your referenced command. In other words, if the name of your global command is My Exam Form then you must also put your script in Title Case like the following: HeardWord "My","Exam","Form" along with enough extra time, such as adding a Wait 2000, to give the HeardWord portion of your script time to execute.

HOWEVER, our preference would be to build entire template utilizing bookmark commands. Try experimenting with a test document in Microsoft Word. Go ahead and type in all of your normals as an example. Now surround all of your normals with brackets. Here's an example of a Normal Lungs in the S.O.A.P. Note.

Lungs: [Clear to auscultation bilaterally; no wheezes, no rhonchi and no rales.]


Fill in the rest of your experimental patient chart as you please. If you are happy with all of the normals (no abnormals) say your KnowBrainer
Delete All Brackets command to remove all the brackets. Unfortunately the consumer versions of NaturallySpeaking do not include the DNS next field command which would allow you to jump to the next set of brackets and highlight everything in between (including the brackets). You could substitute Microsoft Word fields but you would not be able to preserve your normals. You could also substitute the KnowBrainer Fill In command which will allow you to jump from field to field but unfortunately, it will not allow you to go past a normal because it always grabs the 1st bracketed field. Because you're using DNS Premium, your options are a bit limited. Another alternative solution would be the KnowBrainer bookmark commands which you can read about in your How Do I (Start) chapter of your KnowBrainer manual. This will give you random access to any number bookmarks but it won't allow you to utilize normals unless you create them as macros. 2 other options include upgrading to Preferred/Premium to Pro 11.5 Upgrade or taking a look at our EMR Companion which is specifically designed for exactly this type of work. With the EMR Companion, you just click on each normal that you wish to preserve and click another button to clear out anything you don't want. It's definitely the best way to go and it even includes an EHR database but like all EHR's, it comes at a higher price.

If your head is beginning to spin, so is ours and we apologize for that. This might be something that would be better suited to specialized on-site customization through our
Virtual Onsite Support option at (615) 884-4558 x2


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


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

 02/07/2012 12:42 AM
User is offline View Users Profile Print this message


jgold55
Senior Member

Posts: 84
Joined: 09/19/2010

Lunis:

Thank you for your "dizzying" reply.

I am still not sure exactly what I'm doing wrong.  I did create a new template of my exam form with bookmarks.  However, when I try to insert it after opening up the DragonPad, still nothing happens even after I tried to have the cursor insert at the top of the document.

In fact, when I tried to save the command, not only does it not save, but a pop-up window with an error message something like "syntax error in query something or other" and the original command text in the window.

I guess I will have to play with it a little bit more.


-------------------------
HP Pavillion dv7;
 02/07/2012 10:39 AM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22772
Joined: 10/01/2006

There is no way we could possibly hazard a guess without seeing the code for your command. You will need to post your entire command here.

We additionally recommend using Microsoft Word rather than DragonPad. Microsoft Word has far more features, includes more NaturallySpeaking and KnowBrainer command capability (most notably deleting bookmarks and brackets), includes multiple undo capability and automatically creates an emergency backup copy of your file. DragonPad is more of a rudimentary word processor than a real workhorse. DragonPad is basically just WordPad with a few extra command features but a lack of multiple undo/redo.


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


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

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

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