KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Scripting - Dialog box terminating
Topic Summary: Is there a command to prevent this?
Created On: 07/26/2007 03:26 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Scripting - Dialog box terminating   - Tara Lynn - 07/26/2007 03:26 PM  
 Scripting - Dialog box terminating   - DSteiNeuro - 07/26/2007 09:28 PM  
 Scripting - Dialog box terminating   - Lunis Orcutt - 07/27/2007 01:15 PM  
 Scripting - Dialog box terminating   - Tara Lynn - 07/27/2007 06:15 PM  
 Scripting - Dialog box terminating   - DSteiNeuro - 07/28/2007 01:34 PM  
 Scripting - Dialog box terminating   - Tara Lynn - 07/28/2007 01:45 PM  
 Scripting - Dialog box terminating   - DSteiNeuro - 07/28/2007 04:48 PM  
 Scripting - Dialog box terminating   - Tara Lynn - 07/28/2007 04:59 PM  
 Scripting - Dialog box terminating   - DSteiNeuro - 07/28/2007 05:17 PM  
 Scripting - Dialog box terminating   - Tara Lynn - 07/29/2007 11:56 AM  
Keyword
 07/26/2007 03:26 PM
User is offline View Users Profile Print this message

Author Icon
Tara Lynn
Member

Posts: 41
Joined: 03/02/2007

I have many dialog scripts I've written in DNS to automate my medical dictation.  The problem is when I have a dialog box open and then excecute another command, my dialog box closes. 

Can Dragon only excecute one script/command at a time?  Also, is there a scripting command I'm overlooking to instruct the dialog boxes only close on a button press or something of that sort?

Thanks so much!



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

Tara Lynn

CPU: AMD Athlon 64 X2 Dual Core 4400+ 2.64 GHz (overclocked) RAM: G.SKILL DDR2 2 GB DDR2 HD: Western Digital Caviar IDE 80 GB SC: Turtle Beach Riviera MIC/HEADSET:  theBoom "O" mic/Bose QC NC-2 OS:  XP Pro, SP2 VR:  DNS Medical 9.5

 07/26/2007 09:28 PM
User is offline View Users Profile Print this message

Author Icon
DSteiNeuro
Senior Member

Posts: 221
Joined: 10/12/2006

It would help if you could post an example of one of your dialog box scripts.

DNS can only run a single script or command at a given time.

 07/27/2007 01:15 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 22599
Joined: 10/01/2006

We agree with DSteiNeuro in that we would need to see an example of what you are trying to do but our off-the-cuff currently unqualified answer would be no and DNS can only execute one command at a time.

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


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


 


 


 

 07/27/2007 06:15 PM
User is offline View Users Profile Print this message

Author Icon
Tara Lynn
Member

Posts: 41
Joined: 03/02/2007

Well, that answers it all then. Exactly what I was afraid of.  Darn, that really blows. 

Thanks a lot for the replies, however.

I went ahead and attached my script command and it's corresponding boilerplate (designed for WordPad) if anyone wants to take a look see.  The "start_OP" is the command I call up which utilizes a command template to lay down the boilerplate in WordPad (which I included in the .dat).

The multi-text fields labeled "Diagnosis" (2 of those) and "Operation" I wanted to be able to use my numbered list command for each diagnosis and/or operation.  Of course, when I say my list command, the dialog terminates. 

So now I'm basically contemplating the best way to go about having the script enter my formatted list when needed.  I suppose this could be executed separately via checkboxes (possibly next to each diagnosis....), since I have to be able to control whether the list is needed or not and how many list numbers are needed.

Interestingly, I have another dialog script I wrote which utilizes a dialog box where I enter in information for a letter boilerplate, pretty similar to the script I've attached.  Anyway, in my multi-text fields for the address and carbon copy addresses, I have absolutely to problems when I dictate address commands into those fields, and my addresses are all saved as "text and graphic" commands. So, that confuses me somewhat. Is it that the simple "text and graphic" commands don't interfere since they aren't actually scripting?? 

Well, that leads me to another question.  Sometimes after I have one of my dialogs open and then go into my WordPad document quick to dictate a heading, which are also commands but they are just "text and graphic" commands, it seems like on more than one occassion I have lost my dialog box then.  However, I have not tested this particularly yet to see if it does indeed consistently cause the dialog to close, so I cannot say for sure on this.

Anyhow, it is very unfortunate to know that DNS is unable to multitask commands.  Thanks to everyone for your time and input.






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

Tara Lynn

CPU: AMD Athlon 64 X2 Dual Core 4400+ 2.64 GHz (overclocked) RAM: G.SKILL DDR2 2 GB DDR2 HD: Western Digital Caviar IDE 80 GB SC: Turtle Beach Riviera MIC/HEADSET:  theBoom "O" mic/Bose QC NC-2 OS:  XP Pro, SP2 VR:  DNS Medical 9.5

 07/28/2007 01:34 PM
User is offline View Users Profile Print this message

Author Icon
DSteiNeuro
Senior Member

Posts: 221
Joined: 10/12/2006

Unable to open .dat file(s).

Please attach either as a .txt or .xml file and we can take a look.

 07/28/2007 01:45 PM
User is offline View Users Profile Print this message

Author Icon
Tara Lynn
Member

Posts: 41
Joined: 03/02/2007

Here it is ;-)  Thanks ;-)

 



startOPscript.txt
startOPscript.txt  (15 KB)



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

Tara Lynn

CPU: AMD Athlon 64 X2 Dual Core 4400+ 2.64 GHz (overclocked) RAM: G.SKILL DDR2 2 GB DDR2 HD: Western Digital Caviar IDE 80 GB SC: Turtle Beach Riviera MIC/HEADSET:  theBoom "O" mic/Bose QC NC-2 OS:  XP Pro, SP2 VR:  DNS Medical 9.5

 07/28/2007 04:48 PM
User is offline View Users Profile Print this message

Author Icon
DSteiNeuro
Senior Member

Posts: 221
Joined: 10/12/2006

Nice routine. Very clean.
Did you code that yourself?

As far as I know, DNS Dialog Boxes are Modal i.e. the user must close it before continuing with another task on the same application.

Two thoughts:

1) Take it up a step and use Word VBA Userforms to create the dialog boxes. You would have to
dictate into Word, but would have a lot more power with your dialog boxes and could use DNS routines
with the VBA Userform.

2) Use drop-down lists in your DNS Dialog box. I think that with a bit of work, you could create a routine to populate the lists from a separate text file.

DSteiNeuro



tara.jpg
tara.jpg  (15 KB)

 07/28/2007 04:59 PM
User is offline View Users Profile Print this message

Author Icon
Tara Lynn
Member

Posts: 41
Joined: 03/02/2007

Thanks DSteiNeuro!  Yah I did it all on my own, just using trial and error, and evaluating lots of others' samples.

Those are some great suggestions.  I've figured that I'm probably ready to move on to more advanced and more capable programming with VBA.  Any suggestions as to where I might find some good reference material (free is nice!) on the web to start getting my feet wet?

Thanks Again!!



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

Tara Lynn

CPU: AMD Athlon 64 X2 Dual Core 4400+ 2.64 GHz (overclocked) RAM: G.SKILL DDR2 2 GB DDR2 HD: Western Digital Caviar IDE 80 GB SC: Turtle Beach Riviera MIC/HEADSET:  theBoom "O" mic/Bose QC NC-2 OS:  XP Pro, SP2 VR:  DNS Medical 9.5

 07/28/2007 05:17 PM
User is offline View Users Profile Print this message

Author Icon
DSteiNeuro
Senior Member

Posts: 221
Joined: 10/12/2006

 07/29/2007 11:56 AM
User is offline View Users Profile Print this message

Author Icon
Tara Lynn
Member

Posts: 41
Joined: 03/02/2007

Ohh goodie! Looks fun ;-) 

Thanks heaps for the links and info.  I know what I'll be doing on my days off this week!

Danke!!



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

Tara Lynn

CPU: AMD Athlon 64 X2 Dual Core 4400+ 2.64 GHz (overclocked) RAM: G.SKILL DDR2 2 GB DDR2 HD: Western Digital Caviar IDE 80 GB SC: Turtle Beach Riviera MIC/HEADSET:  theBoom "O" mic/Bose QC NC-2 OS:  XP Pro, SP2 VR:  DNS Medical 9.5

Statistics
27364 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 4 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 79 users using this forum.

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