![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Select-and-Say compatibility of SciTE text editor Topic Summary: Or more particularly, SciTE4AutoHotkey Created On: 03/03/2016 07:18 PM Status: Post and Reply |
|
|
![]() |
|||||||||||
I believe I used to have Select-and-Say compatibility when using the SciTE text editor (maybe back in my prior version, DNSPro11), but I no longer do with DNS13Pro. I had a "Compatibility Module Status" section hanging around in my nsuser.ini file for version SciTE v.3.0 but the name and/or version has changed since then. Anyone have it working?
Here is what I tried:
[SciTE|3.5\Compatibility Module Status] Global Dictation=1 [SciTE|3.5.1\Compatibility Module Status] Global Dictation=1 [SciTE4AutoHotkey|3.0\Compatibility Module Status] Global Dictation=1 [SciTE4AutoHotkey|3.0.06\Compatibility Module Status] Global Dictation=1 [SciTE4AutoHotkey|3.0.06.01\Compatibility Module Status] Global Dictation=1 But, so far, no luck. Anyone been able to get it to work? TIA!!
-------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
I have found that the mods to nsuser.ini don't seem to matter, and I have completely deleted all of the above entries (and the others I tried) with no ill effects on SciTE.
Instead, I found my best results -- and a solution -- by adding to the nsapps.ini file as follows:
[SciTE]
Only problem I noticed is if you have the "Enable multiple text matches" setting checked and you try to select a word that has multiple instances, you won't get the little numbers allowing you to choose which one, and it will look like nothing has happened. If you uncheck that option, you can select the word, and if it is the wrong instrance, just say "select again" as is the usual way to deal with this when that setting is unchecked.
More info is here (but is dated back to DNS 7 and 8):
But this is great news for me. Hope it helps some of you voice coders, too . . . -------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Can confirm, this seems to work - at least with initial testing. NOTE: the green check mark doesn't go on, but you can say "select ..."
NOTE: my nsapps.ini file is at: C:\ProgramData\Nuance\NaturallySpeaking14\nsapps.ini -------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
This also seems to work for notepad++
[NOTEPAD++] App Support GUID={dd100104-6205-11cf-ae61-0000e8a28647} [NOTEPAD++\Enable Class Names] Scintilla=5 -------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Awesome! This must be about the first time in about a decade someone actually manages to hack Select-And-Say into a supposedly "non-supported application".
This also shows that the ancient method of 2003 still applies, completely unchanged. ------------------------- Sennheiser MKH Mic |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Hi David -- nice to see you back. Yes, I mentioned that link above and as you guessed, it is where I got a clue to try. But interesting that the table of choices back then was so limited, so through the years Dragon added editor classes. From those days:
-------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Amateur question: how did you find the name of the window? I'm using Dragon 13 with Windows 7 at work and Dragon 15 with Windows 10 at home.
I'm super excited, as I started learning how to code (and was loving it) soon before my injury in late 2013, and if this means I can get back into it without too steep a learning curve, then that would be fantastic. |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Check out the Nuance Answer linked above. There it tells you:
You first need to find out the name of the executable (.exe) file. Sometimes this is the same as the .exe file listed in the properties of the Start menu item or desktop shortcut for the program. Sometimes you need to start the application, then press Ctrl+Alt+Del, choose Task Manager, and look on the Processes tab to find the name of the executable file. Case is significant; frequently the executable name is all uppercase. Next you need to find out the class names of any edit controls used in the application. Two ways to do this:
Once you know the class name(s), complete the following steps to enable Select-and-Say:
And go from there. Let us know what application you are planning to use, and what edit control and number works. Have fun, -------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Just adding a smidgen to PG's sage advice… The two-step process of pressing {Ctrl+Alt+Del} followed by clicking the Task Manager is no longer required. Try substituting pressing {Ctrl+Shift+Esc} or if you're using KnowBrainer, say Start <Task Manager> to open the Task Manager. ------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
I'm having trouble getting this to work. Adding this to my nsapps.ini I still get the 'unknown text field' message from Dragon, and do not gain "Select and Say" functionality. I've tried changing the case of 'Notepad++', and even changing the name of the executable (and then matching this in the nsapps.ini) oon the off chance that would work, but with no success.
Any help or suggestions would be greatly appreciated.
More generally I would be interested to hear which editors are recommended for voice coding? I do all my LaTeX-ing in win32pad, but I find writing for instance Python without context highlighting to be quite unpleasant, but as stated above, I'm having trouble getting set up with anything else. |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Welcome to the World's Most Popular Speech Recognition Forum Editing the nsapps.ini file does not typically enable Select-&-Say in most applications; just a few. We were not able to enable Select-&-Say for Notepadd++ on our system. We only use Notepadd++ for editing KnowBrainer commands which are in XML format and easier to see than simply opening our commands in, for example, Windows Notepad (which is Select-&-Say enabled). Most of the time, we prefer to edit commands directly in the Dragon and KnowBrainer Command Browser's which are both Select-&-Say enabled. Notepadd++ simply wasn't created for speech recognition use. Unless you're using KnowBrainer VerbalBasic (verbal VB scripting) if possible, you might consider working with Notepad or WordPad but again, we don't know exactly what you're doing so these suggestions may offer little assistance. ------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
I'm looking for a text editor I can use for writing Python, C++, etc. code. I've been using win32Pad up to now for writing LaTeX, but writing, for example, python, without context highlighting is pretty unsatisfactory. I'd be really interested to hear what solutions people have to this problem as I'm sure it's one a lot of people have encountered.
Thanks in advance for your time |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
This does not appear fully implemented for Dragon 15. Has anyone worked out what number in Scintilla=5, yet?
-------------------------
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
I haven't been able to get Notepad++ to work properly with Dragon 15, even after some experimentation. Accordingly, I have switched to another text editor, ProgramEdit, that uses a rich edit control. Dragon seems to be able to enable select and say without any need to edit any of the ini files.
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Hi PG LTU, thank you for sharing this valuable discovery.
I made the changes and was able to use The Select and Say feature in Scite, thank you, however while it worked okay in a small sub 100 line file, when a use it in a larger one, it causes the system to completely freeze for 10 to 30 seconds every time I attempted to select a word, which is obviously extremely frustrating, have you experienced this? I expect Dragon is reading and computing all of the text in the file instead of just what is visible on the screen, perhaps due to incompatibility, do you know of a workaround for this? Thank you ![]() ------------------------- Windows 7 | DPI 15.3 | KnowBrainer | DragonFly2 | Caster |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Additional:
Worryingly, I am getting the same freezing behaviour in SciTE4AutoHotkey when attempting to dictate text with the above modifications removed from the aforementioned file (file saved and closed) and Dragon restarted (several times) Has anyone out experience this behaviour? Is there a way to force a particular speech/text setting that will not attempt to read from the text input and simply write in to it nice and quickly? I am using mostly dragonfly commands for navigation anyway and have already written my own select word alternative (using AutoHotkey and the find on page hotkeys) which is just as fast in small files and substantially faster in large files. Thanks again ![]() ------------------------- Windows 7 | DPI 15.3 | KnowBrainer | DragonFly2 | Caster |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
We just released a new KnowBrainer workaround command (Build 11-21-19) that should be effective but only a workaround. We agree with your suspicion but cannot test your utility.
2. If you have KnowBrainer 2017, download the latest commands. We have just released the final version of our new Type <dictation> command that will allow you to dictate anywhere with proper capitalization and spacing. All you have to do is place your cursor where you want your target app or select any word you wish to edit/correct. This new command is smart enough to figure out when you need capitalization, an extra space or no-space.
However, the best solution would be to use DragonCapture for direct Smart Dictation without having to use a trigger command. We use the previous KnowBrainer command for correcting. ------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
So just for reference - I lost my documentation on how to add Select-&-Say to Notepad++. I figured it out again, and decided to post it where I could find it the next time I forgot (again)...
|
|||||||||||
|
|||||||||||
![]() |
|||||||||||
Hello, I am checking to see if I can enable another application using the same method that jungar had success within Notepad++
I've identified the class name of the application, but how my supposed to figure out what number I should use? With NPD, value is 5... I understand that it can go all the way up to 9. But what do these numbers mean and how can they be worked out for a particular application? Is there a more scalable method than just using guess and check? ------------------------- Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017. |
|||||||||||
|
|||||||||||
![]() |
|||||||||||
The previous hack only works in a handful of apps
------------------------- Change "No" to "Know" w/KnowBrainer 2022 |
|||||||||||
|
|||||||||||
KnowBrainer Speech Recognition
» Dragon Speech Recognition
»
Select-and-Say compatibility of SciTE text editor
|
FuseTalk Standard Edition v4.0 - © 1999-2023 FuseTalk™ Inc. All rights reserved.