![]() |
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 |
|
![]() |
![]() |
- PG LTU | - 09/18/2020 05:06 PM |
![]() |
![]() |
- Matt_Chambers | - 09/18/2020 05:21 PM |
![]() |
![]() |
- cactustweeter | - 09/18/2020 08:45 PM |
![]() |
![]() |
- PG LTU | - 09/18/2020 09:08 PM |
![]() |
![]() |
- Kelray | - 09/19/2020 04:14 PM |
![]() |
![]() |
- DigitalCyclist | - 09/20/2020 11:20 AM |
![]() |
![]() |
- Lunis Orcutt | - 09/21/2020 10:21 AM |
![]() |
![]() |
- Grandslam | - 09/19/2020 06:39 AM |
![]() |
![]() |
- monkey8 | - 09/19/2020 09:24 AM |
![]() |
![]() |
- sterlingtimes | - 09/19/2020 10:19 AM |
![]() |
![]() |
- Kelray | - 09/19/2020 02:18 PM |
![]() |
![]() |
- PG LTU | - 09/19/2020 03:09 PM |
![]() |
![]() |
- PG LTU | - 09/19/2020 07:04 PM |
![]() |
![]() |
- Alan Cantor | - 09/19/2020 08:29 PM |
![]() |
![]() |
- PG LTU | - 09/19/2020 09:54 PM |
![]() |
![]() |
- sterlingtimes | - 09/20/2020 07:37 AM |
![]() |
![]() |
- PG LTU | - 09/20/2020 10:00 AM |
![]() |
![]() |
- sterlingtimes | - 09/20/2020 10:40 AM |
![]() |
![]() |
- brooklyn cabin | - 09/20/2020 09:36 PM |
![]() |
![]() |
- PG LTU | - 09/21/2020 12:28 PM |
![]() |
![]() |
- Lunis Orcutt | - 09/21/2020 05:51 PM |
![]() |
![]() |
- PG LTU | - 09/21/2020 03:43 PM |
![]() |
![]() |
- Matt_Chambers | - 09/21/2020 04:48 PM |
![]() |
![]() |
- PG LTU | - 09/21/2020 07:32 PM |
![]() |
![]() |
- PG LTU | - 09/25/2020 01:38 AM |
![]() |
![]() |
- Lunis Orcutt | - 10/04/2020 04:10 PM |
![]() |
![]() |
- PG LTU | - 10/04/2020 02:15 PM |
![]() |
![]() |
- wristofdoom | - 11/22/2020 01:54 PM |
![]() |
|||||||
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, -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
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 |
|||||||
|
|||||||
![]() |
|||||||
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? |
|||||||
|
|||||||
![]() |
|||||||
DigitalCyclist, ------------------------- Forum Mission Statement |
|||||||
|
|||||||
![]() |
|||||||
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 . . . -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
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. |
|||||||
|
|||||||
![]() |
|||||||
Thank you PG. So grateful for the time and thoughtfulness you put into this. A true help for our community.
|
|||||||
|
|||||||
![]() |
|||||||
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!!! -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
Sorry about our halfway attempt. We made a few edits at the end of your MyCommands.dvc file (to add a couple more wakeup commands) but we foolishly imported your XML file instead of removing the originals 1st. We can now rattle off the numbers, in a single utterance, with smooth quick success. Very well done ------------------------- Forum Mission Statement |
|||||||
|
|||||||
![]() |
|||||||
EVERYONE WHO HAS ALREADY FIXED MOUSEGRID SHOULD DO SO AGAIN WITH THE UPDATED FILES. -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
"Yikes, so I made the changes I mentioned above but never exported the newly changed custom .xml commands when I updated the system.dvc and custom xml commands last time (to unify the mouse [directions]). But since my commands had been fixed I didn't realize it until I tried to redo from a brand new profile (as the commands need to be imported for each profile)."
It makes me feel better to know even a real expert like you makes a mistake once in a while. (This is the kind of thing I do all the time.) |
|||||||
|
|||||||
![]() |
|||||||
So in case anyone was wondering, the reason for all the updates is I had added some mouse direction commands (mouse [pgdirection] [1to30] [mouseaction]) and the like with new diagonal directions and new [mouseaction] options into the mousegrid state commands system.dvc. But the original part from Nuance for handling those parts used HeardWord statements which no longer work because some of the list entries for direction and mouse action were more than one word. So I had to copy the correct code in and adjust the _arg#'s and a few other things to fix. This also had to be done in the Dragon commands, too.
Both files above are fully correct as of 7:15 EDT.
EDIT (22-Sep-2020): 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)! -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
There is some important info here http://www.knowbrainer.com/forums/forum/messageview.cfm?catid=4&threadid=34907 and I would wait for Lunis to re-issue his helpful MouseGrid Patch utility . . . -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
My apologies for not announcing that we have finished PG's KnowBrainer System which includes an updated self installing system.dvc file, Dragon commands, that will need imported and pictorial details on the process. ------------------------- Forum Mission Statement |
|||||||
|
|||||||
![]() |
|||||||
As mentioned, this issue has been going on for a while: http://www.knowbrainer.com/forums/forum/messageview.cfm?catid=4&threadid=11931
and throughout 2012 though the screen resolution or scaling was thought to be at least one culprit (though never a complete solution - which mine is!) -------------------------
|
|||||||
|
|||||||
![]() |
|||||||
Hi, I'm finally getting around to installing this patch, which sounds great, but I'm confused by the first step in the documentation:
What is the KB System self extractor? Is this something that comes with KB? I'm running the 15.6 version of Dragon Professional (the unpatched version) and KB2017. Thank you ------------------------- Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017. |
|||||||
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.