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


|
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 |
|
![]() |
- Tara Lynn | - 07/26/2007 03:26 PM |
![]() |
- DSteiNeuro | - 07/26/2007 09:28 PM |
![]() |
- Lunis Orcutt | - 07/27/2007 01:15 PM |
![]() |
- Tara Lynn | - 07/27/2007 06:15 PM |
![]() |
- DSteiNeuro | - 07/28/2007 01:34 PM |
![]() |
- Tara Lynn | - 07/28/2007 01:45 PM |
![]() |
- DSteiNeuro | - 07/28/2007 04:48 PM |
![]() |
- Tara Lynn | - 07/28/2007 04:59 PM |
![]() |
- DSteiNeuro | - 07/28/2007 05:17 PM |
![]() |
- Tara Lynn | - 07/29/2007 11:56 AM |
|
|
|||
|
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 |
|||
|
|
|||
|
|
|||
|
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. |
|||
|
|
|||
|
|
|||
|
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.
-------------------------
|
|||
|
|
|||
|
|
|||
|
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 |
|||
|
|
|||
|
|
|||
|
Unable to open .dat file(s). Please attach either as a .txt or .xml file and we can take a look. |
|||
|
|
|||
|
|
|||
|
Here it is ;-) Thanks ;-)
------------------------- 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 |
|||
|
|
|||
|
|
|||
|
Nice routine. Very clean.
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 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
|
|||
|
|
|||
|
|
|||
|
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 |
|||
|
|
|||
|
|
|||
|
Cool! Here is a good start (free is nice): http://www.computorcompanion.com/LPMArticle.asp?ID=127 http://www.computorcompanion.com/LPMFrame.asp?CMD=RelatedArticles&ID=127 http://www.mousetrax.com/TechPage.html
|
|||
|
|
|||
|
|
|||
|
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 |
|||
|
|
|||
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.