![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Offering: Window Grid Topic Summary: A multi-monitor aware window-specific mouse grid Created On: 08/10/2020 01:35 PM Status: Post and Reply |
|
![]() |
|||
Window Grid (WindowGrid.exe) A multi-monitor aware replacement for Nuance’s Dragon utility "Mouse Grid" which puts the grid on the currently active window; released as public domain as a Microsoft Visual Studio 2017 C# project. The application creates a semi-transparent window the size of the active window; a grid is drawn with a maximum of 26 columns (labeled with the ASCII letters A-Z) and 10 rows (labeled with the ASCII numerals 1-10). Each cell is labeled with the column letter and row number: A1-Z10. Just the application: The entire Microsoft Visual Studio solution: Even though extensively tested by me I consider this a beta version as no one else has tried it! The attached readme text file as lots of details.
------------------------- -Edgar |
|||
|
|||
![]() |
|||
Cool app, Edgar! Thanks for sharing. |
|||
|
|||
![]() |
|||
That's not a bug that's a fatal error! Are you trying to execute the application by double-clicking on its icon? Although, that should force it into "Screen Grid" mode. The way it is supposed to work is to have some other window have focus (the active window) then say "window grid" or "window grid X by Y" (where X is the number of columns you desire and Y is the number of rows desired). Of course, you will need to create two global Dragon scripts and an application-specific script. Your forum profile shows you are not using KnowBrainer so will need to use the slower Dragon-specific application-specifics script (read the attached readme.txt file). ------------------------- -Edgar |
|||
|
|||
![]() |
|||
I am trying to execute the application by using an Advanced Scripting command with a single line consisting of:
ShellExecute "C:\Program Files (x86)\WindowGrid\Windowgrid.exe" It's true that I don't use Knowbrainer. I spent so many years writing my own Advanced Scripting commands that I don't want to have to learn anybody else's commands. But I am happy to write my own commands I'm running a single monitor, 1920 by 1080. I just downloaded the standalone application, being lazy. I'm happy to be a beta tester. Beta testing can be fun! |
|||
|
|||
![]() |
|||
Thanks for the report Matt! I think it is a combination of two things - permissions and signature. Windows 10 is being very finicky! Unfortunately, this is not the case with a Dragon script. No matter where I put the application it always fails in the same manner. I used to have the credentials to "sign" an application but they may no longer be adequate - Windows 10 wants everything to come from the App Store. I do have an account on the App Store but I have never figured out how to submit an app. I did try using a Dragon script to "ShellExecute" another application downloaded from the Internet (PSPad - almost certainly signed) which is in "C:\Program Files (x86)" and that worked just fine. ------------------------- -Edgar |
|||
|
|||
![]() |
|||
Interesting. I tried your earlier version of the application (screengrid.exe) and opened it with the same Advanced Scripting command, without problem. I don't know why there would be a difference.
|
|||
|
|||
![]() |
|||
That helps a lot! The only difference between the two is that Screen Grid is NOT a commandline application. By doing some ugly manipulation of the Clipboard I can turn Window Grid (and by extension, the as yet unreleased, Monitor <1-10> Grid) into non-commandline applications. Sub Main ShellExecute "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\WindowGrid\WindowGrid.exe" End Sub note that there is only one space in this quoted string - between ".exe" and "C:\". The ugly part is that the Power Shell window opens very briefly. I'm hoping that when DPI gets its update to the new scripting engine all of this will just work like it does with KnowBrainer! ------------------------- -Edgar |
|||
|
|||
![]() |
|||
That works!
Wish DPI 15.6 would get here already! Crazy that Nuance is so close, and can't get the update over the finish line. |
|||
|
|||
![]() |
|||
Congratulations, as an official beta tester you are entitled to a free copy of the software! Oops - everybody gets it for free; oh well, so much for rewarding beta testers. Any thoughts on the preferences (press <CTRL>+p)? Even though I suspect that English is your primary language, have a look at the language localization dialog (from the Preferences dialog press <ALT>+l - that's the letter "L"; I hate fonts where you can't easily tell a capitol <I> from a minuscule <l> or the numeral 1). ------------------------- -Edgar |
|||
|
|||
![]() |
|||
The preferences look good and easy to understand. I would change the default number of columns and rows to increase the number, but perhaps that's because I have a pretty big monitor.
English is my primary language, thank you! |
|||
|
|||
![]() |
|||
Given that the "Mouse" menu needs a sub-item for each column, and each of them need a unique (mnemonic) accelerator key, the letters [a-z] are the only reasonable choices - limiting me to 26 columns. Since there are slightly more than 90 "printable" ASCII key codes (<,>, <:> etc., but we need to throw out the capitol letters [A-Z] to avoid confusion) a torturous menu could be created using all of them as accelerator keys. I suspect it would be unwieldy to memorize a 68 character alphabet in order! But, since the characters are printed in large bold type it could be done. ------------------------- -Edgar |
|||
|
|||
![]() |
|||
Hi Edgar, can I leave your grid up all day and work and click as normal, or do grid overlays somehow interfere with the normal operation of apps? I'm thinking I'd like a grid with lines spaced every 5% or 10% across the screen. Do you suppose your Grid tool would be easy to modify to do that? Thank you
------------------------- Win10/11/x64, AMD Ryzen 7 3700X/3950X, 64/128GB RAM, Dragon 15.3, SP 7 Standard, SpeechStart, Office 365, KB 2017, Dragon Capture, Samson Meteor USB Desk Mic, Amazon YUWAKAYI headset, Klim and JUKSTG earbuds with microphones, excellent Sareville Wireless Mono Headset, 3 BenQ 2560x1440 monitors, Microsoft Sculpt Keyboard and Logitech G502 awesome gaming mouse. |
|||
|
|||
![]() |
|||
Not has currently implemented. The current behavior is to dismiss the grid (close the application) when the mouse is clicked. I suspect that it would be fairly easy to modify this in the manner you specify. There are actually three different code bases (window, monitor & screen grids) but, from what you say, you would probably want the Screen Grid version. ------------------------- -Edgar |
|||
|
|||
![]() |
|||
Hi Edgar, thanks for the helpful reply. Using your thinking, I'm thinking of about 10-20 vertical lines (every 10% of the screen) and 10 horizontal lines, only on the usable workarea (not taskbar). I don't want numbers in the (giant) cells - just a couple of numbers anywhere on the lines to remind me if they are the 40% line or the 30% line. Parsing "mouse 90 x 40" as a command is no sweat. And I imagine that I have enough CPU juice to draw the lines.
The big thing I pick up from your message is that it is not allowed to pass a manual mouse-click through an overlay (is that the right term for my lines?) without hiding/disabling the overlay before passing the mouseclick through. Bummer. I was thinking that you could draw transparent overlay windows/lines and automatically pass mouse clicks through them as if they weren't even there. Basically, I was wondering if there was an electronic way of replacing the threads (thing sewing machine thread) that I have taped to my monitor to create crossovers at locations on the screen. The threads don't get in the way much and do a great job of guiding my voice commands to place the mouse on buttons or in fields. It's really quite amazing how accurate I can be (thinking of Mark and his "within 50 pixels" comment) with the simple threads. I was just seeking a computerized version of them. If my info here gives you any ideas, please let me know. Thank you! ------------------------- Win10/11/x64, AMD Ryzen 7 3700X/3950X, 64/128GB RAM, Dragon 15.3, SP 7 Standard, SpeechStart, Office 365, KB 2017, Dragon Capture, Samson Meteor USB Desk Mic, Amazon YUWAKAYI headset, Klim and JUKSTG earbuds with microphones, excellent Sareville Wireless Mono Headset, 3 BenQ 2560x1440 monitors, Microsoft Sculpt Keyboard and Logitech G502 awesome gaming mouse. |
|||
|
|||
![]() |
|||
You can Hide() the semi-transparent Form which has the overlay lines, past the mouseclick through, then Show() the Form again so fast that it doesn't really flicker. I think the real drawback would be that you cannot have the grid Form on top and type directly into the underlying text field without flickering (although, if you're doing it all by voice the flicker can occur only when you pause to take a breath). ------------------------- -Edgar |
|||
|
|||
![]() |
|||
No problem. I was thinking of your comments and figured that if my transparent grid window was on top, it would probably foul up all calculations based on the foreground window. And now you've just confirmed that I would not be able to type through the transparent window either (unless it caught the keystrokes and passed them to the underlying window). I suppose the transparent window could do that without turning itself off and on - just catch the keys and pass them on. It's the foreground window calculations that would be an issue. Not so much for my code, because it would know what's going on. But for Dragon... not so much. :-) All of its app-specific command code would suddenly never get triggered because the foreground window would never be Word, Chrome, or whatever. Interesting. Oh well. I guess I stick with the thread method for now. It's actually pretty good. I thought of using red and black threads for alternating 10, 20, 30 lines, but it looks like all threads look black against the monitor screen. Oh well. Too bad I couldn't have thin glowing laser lines instead of threads!
------------------------- Win10/11/x64, AMD Ryzen 7 3700X/3950X, 64/128GB RAM, Dragon 15.3, SP 7 Standard, SpeechStart, Office 365, KB 2017, Dragon Capture, Samson Meteor USB Desk Mic, Amazon YUWAKAYI headset, Klim and JUKSTG earbuds with microphones, excellent Sareville Wireless Mono Headset, 3 BenQ 2560x1440 monitors, Microsoft Sculpt Keyboard and Logitech G502 awesome gaming mouse. |
|||
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.