![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: *UPDATED* MouseGrid has been fixed and improved Topic Summary: Rewriting the system.dvc and Dragon cmds - no more crashes Created On: 09/18/2020 05:06 PM Status: Post and Reply |
|
|
![]() |
|||||||
EDIT 2 (21-Sep-2020 19:15 EDT): EVERYONE WHO HAS ALREADY FIXED MOUSEGRID SHOULD DO SO AGAIN WITH THE UPDATED FILES.
What I said above: MouseGrid is fixed and certainly improved! Rewriting the system.dvc and Dragon commands and no more crashes!!
I re-wrote the system.dvc file and the equivalent dragon command dvc scripts. You have to put my copy of system.dvc in to the appropriate place, and overwrite the existing Dragon DVC scripting commands by importing in my .xml custom command file. No representations or warranties, provided as-is, use at own risk.
Among other things, I added a small wait. Fixed the lists. Addressed the Dragon crashes issue. Made the code more uniform.
I also improved the mouse direction commands (can go diagonal, and can go up to 30 in all directions)
I also improved the mouse action commands (added combos such as ctrl-right click, shift-ctrl-click, and many more)
Only prob I see so far is sometimes if a mouse action is included after several numbers in the MouseGrid, the mouse doesn't move to the new spot before doing its action thing. I put in wait times, but maybe more is needed for the longer strings (as there is a recursive effect going on).
EDIT 3 (22-Sep-2020): This timing and mouse action problem has been completely fixed by now and I can confirm it all works just as it should. And now I have confirmed that working includes working on my Remote Desktops (using DPG15.6)!
EDIT 1: I have updated the two files and fixed the timing issue, among other improvements, and I daresay this is now a complete solution. NOTES: When in mousegrid mode you have a few new additional commands: Move Mouse [direction] Move Mouse [direction] [speed] - these commands end mousegrid mode and start the mouse moving [GoToSleep] and [MikeOff] - because those commands otherwise don't work in mousegrid mode Lock [workstation] - because sometimes you have to lock the workstation
I also include my own improved asleep mode commands which include vocal confirmations, the ability to turn the mic off from asleep state, the ability to use the mouse by saying "mouse [mouseaction], and of course, Lock [workstation] because again, you need to be able to do that.
Have fun, let me know if it works, don't blame me if it doesn't . . .
LAST UPDATED 2020-Sep-21 19:15 GMT+5
-------------------------
|
|||||||
|
|||||||
![]() |
|||||||
Great stuff, PG!
|
|||||||
|
|||||||
![]() |
|||||||
I re-wrote the system.dvc file and the equivalent dragon dvc scripts. You have to put my copy of system.dvc in to the appropriate place, and overwrite the scripting commands with my command file.
Your system.dvc file is much cleaner then DPG 15.6 default version. I know where to put the system.dvc file. What do I do with the commands.xml? Import them into Command Browser? Thanks so much for sharing these fixes. Much appreciated. ------------------------- Dragon in use. Occasionally mistakes are made. I correct the ones I notice... |
|||||||
|
|||||||
![]() |
|||||||
Let me add a few details. The two files need to be saved on your PC. The .dvc file should save automatically, but if clicking the .xml opens something you don't like in your browser, go back or close the tab, and then right-click on the file link and select "Save link as" from the context menu.
Once you have those two files, here's what you gotta do:
For the .dvc, rename it to "system.dvc" and take that file and overwrite your existing system.dvc file with it. In 15.6 the typical location for English speakers is:
Two things to note. 1. If your default file view includes "hide extensions for known file types" then you have to take care that extensions aren't applied to the system.dvc file as .dvc _is_ its extension. 2. If you can't find the file directory, it might be "hidden" and there is an option you can tick to change that, or just paste in the address. You need to close and re-open your User after you do the overwrite, but to be safe, you can exit and resatart Dragon.
Now, for the custom command .xml file, it should be fine as is. In an open Dragon User Profile (yes, for each profile), open the Command Browser and go to Manage. From here, under Global commands, you may want to delete the existing mouse grid commands, and then you can "import" the .xml file you saved. You have to change the "looking for" dropdown to .xml, but that's all there is to it. Overwrite the existing commands if they weren't deleted first, and you are set.
Note, I changed [1to9] to all numerals and added diagonal directions to a new list [pgdirection]. If you use the [1to9] list for other things, you may get a warning that lists in the imported commands will get a changed name, but that's ok. It'll work with the changed names, although the better solution is go ahead and change that existing [1to9] list to match the entries in the one I provide (the digits, 1 to 9). Same with [mouseaction] although if you delete all the mouse grid commands there isn't likely to be any conflict with the [mouseaction] list I include. If you do have a conflict, conform your existing [mouseaction] list to the one I provide (also shown a few posts below).
Hth, -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
Lol. Nuance should have you on staff!
|
|||||||
|
|||||||
![]() |
|||||||
|
|||||||
![]() |
|||||||
Thank you, PG, for once I was able to implement with the limited instructions. This is working well and I appreciate your efforts. Regards, Stephen
|
|||||||
|
|||||||
![]() |
|||||||
I am really looking forward to trying your fixes here, but I cannot figure out what to do with these. I must be having a big brain fart. If you could give me a little bit more information about what to do with these I would really appreciate it. |
|||||||
|
|||||||
![]() |
|||||||
No worries. I provided good details in my edited 2nd post above. Lemme know how you make out . . . -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
Thank you very much for the thorough directions. They must have been thorough if somebody as thickheaded as me could follow them. The mouse grid seems to be working quite well right now. I did notice that I have to give the different mouse commands rather slowly. If I say for example "mouse grid 1 5 9" fast I still will get the fatal exception error. As long as I take a pause between the numbers it seems to work perfectly. Beggars certainly cannot be choosers. That is a very minor adjustment I will have to make to my use of the mouse grid. I am just really happy to have it working again. Thank you very much. I really appreciate your help with this. I was really getting sick of not being able to use the mouse grid command like I used to be able to. I don't know what I would do if it wasn't for this forum. Everybody on here is so very helpful. Raymond |
|||||||
|
|||||||
![]() |
|||||||
Thx Raymond - I know what you mean, and I think I fixed the Dragon DVC commands causing it. My mousegrid mode commands (system.dvc) worked once you were in mousegrid mode. -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
but wow, is all I'll say . . . A gigantic thank you to Philip for taking the time to develop these replacement scripts. Although I don't tend to rely on mouse emulation, there are moments I need them, and Philip's commands work better, and are more versatile, than the originals. "Wow" is entirely appropriate! It's unfortunate Nuance's QA process allows major bugs like this to slip through. But the story is familiar - it has happened with many previous releases. (Anyone remember when commands that included digits between 1 and 20 failed with "19", such as "move down 19"?) On the other hand, with Version 15.6, we are fortunate to have a workaround that significantly improves the ability to control the mouse by voice. And Philip managed to pull it together in just a few days! Mouse emulation has always been a Dragon weakness. Philip's efforts demonstrate what can be accomplished with existing technologies. But dvc has been around since the late-1990s. I wonder why built-in mouse commands have not significantly improved during the 23 years since Dragon's introduction. Enhancements like Philip's could have been incorporated into Dragon years ago... or decades ago. |
|||||||
|
|||||||
![]() |
|||||||
Last time, I promise: -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
I notice that if I say "mouse" or "mouse window" plus number(s), I get the same response as saying "mousegrid". Is this a standard Dragon feature?
|
|||||||
|
|||||||
![]() |
|||||||
Yes, I think that was part of the original DVC - I'm not sure it worked so well, though, as I tried only many years ago. But as you see, "mouse" by itself is not a synonym, but together with numbers, "mouse" substitutes for "mousegrid" in the commands. I only used it in testing, but I'm getting more use to saying "mouse window [1to9]" etc to save the syllable. -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
Thank you, PG, for the explanation. There is a body of opinion that MouseGrid is redundant. However, we can see that there is some following here. I have tried alternatives for mouse and window placement but this remains my favourite approach. Your intervention has been worthwhile. |
|||||||
|
|||||||
![]() |
|||||||
Presumably these improvements will work equally well in DPG 15.6 as in DPI 15.6, seeing as the Nuance-distributed files for system.dvc appear to be identical? |
|||||||
|
|||||||
![]() |
|||||||
Thank you PG. So grateful for the time and thoughtfulness you put into this. A true help for our community.
|
|||||||
|
|||||||
![]() |
|||||||
DigitalCyclist, ------------------------- Forum Mission Statement |
|||||||
|
|||||||
![]() |
|||||||
Lunis you also need the custom XML commands to be imported and overwrite the existing ones (or rather, delete the existing ones first). You are getting that error from calling an original Dragon DVC command (which, as I mentioned, are broken). You need to do both things if you want no errors when starting with more than one number in the command.
But for sure, everyone, only overwrite the unencrypted version of system.dvc!!! -------------------------
|
|||||||
|
|||||||
KnowBrainer Speech Recognition
» Dragon Speech Recognition
»
*UPDATED* MouseGrid has been fixed and improved
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.