KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: HeardWord with <dictation>
Topic Summary: How does one combine the two in a script
Created On: 08/11/2021 10:52 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 HeardWord with <dictation>   - Edgar - 08/11/2021 10:52 AM  
 HeardWord with <dictation>   - Alan Cantor - 08/11/2021 12:44 PM  
 HeardWord with <dictation>   - Edgar - 08/11/2021 02:37 PM  
 HeardWord with <dictation>   - PG LTU - 08/12/2021 10:18 AM  
 HeardWord with <dictation>   - Edgar - 08/12/2021 12:27 PM  
 HeardWord with <dictation>   - Alan Cantor - 08/12/2021 01:26 PM  
 HeardWord with <dictation>   - Edgar - 08/12/2021 03:14 PM  
 HeardWord with <dictation>   - wristofdoom - 08/24/2021 01:19 PM  
 HeardWord with <dictation>   - monkey8 - 08/12/2021 03:36 PM  
 HeardWord with <dictation>   - Edgar - 08/12/2021 03:44 PM  
 HeardWord with <dictation>   - monkey8 - 08/12/2021 03:52 PM  
 HeardWord with <dictation>   - monkey8 - 08/12/2021 05:00 PM  
 HeardWord with <dictation>   - PG LTU - 08/12/2021 05:22 PM  
 HeardWord with <dictation>   - monkey8 - 08/14/2021 11:28 AM  
 HeardWord with <dictation>   - Edgar - 08/12/2021 07:21 PM  
 HeardWord with <dictation>   - Edgar - 08/14/2021 03:14 PM  
 HeardWord with <dictation>   - Mav - 08/24/2021 03:07 AM  
 HeardWord with <dictation>   - Edgar - 08/24/2021 10:53 AM  
 HeardWord with <dictation>   - Mav - 08/25/2021 04:02 AM  
 HeardWord with <dictation>   - Edgar - 08/24/2021 02:42 PM  
 HeardWord with <dictation>   - wristofdoom - 08/24/2021 07:26 PM  
Keyword
 08/24/2021 02:42 PM
User is offline View Users Profile Print this message

Author Icon
Edgar
Top-Tier Member

Posts: 1260
Joined: 04/03/2009

Notepad is not a rich text editor so the specific command would not be of much help there. Think more along the lines of Word, WordPad or other rich text editors which allow strikethrough and bolding. DragonĀ® has built-in commands for bolding, italicizing and underlining (assuming the conventional keyboard shortcuts for each exist in the target application) but not for strikethrough nor normalizing (removing all formatting/styling).

Imagine the target application had keyboard shortcuts for things like "make the selected text's color various-popular-colors". We could create a command "Paint various-popular-colors dictation" which would select the phrase which was equal to "dictation" and change its text color to the specified color.

The big challenge was to figure out how to accomplish: HeardWord "select ", dictation
in the middle of an Advanced Script. It turns out that the solution was to pass that part of the job off to an external application so that the work was done before the script exited instead of after the script exited.

-------------------------

-Edgar
DPI 15.3, 64-bit Windows 10 Pro, OpenOffice & Office 365, Norton Security, Shure X2U XLR to USB mic adapter with Audio Technica DB135 vocal mic, Asus X299-Deluxe Prime, Intel Core i9-7940X (14 core, 4.3 GHz overclocked to 4.9 GHz), G.SKILL TridentZ Series 64GB (4 x 16GB) DDR4 3333 (PC4 26600) F4-3333C16Q-64GTZ, NVIDIA GIGABYTE GeForce GTX 1060 GV-N1060G1 GAMING-6GD REV 2.0 6GB graphics card with 3 1920x1080 monitors

 08/24/2021 07:26 PM
User is offline View Users Profile Print this message

Author Icon
wristofdoom
Top-Tier Member

Posts: 320
Joined: 09/03/2020

Originally posted by: Edgar Notepad is not a rich text editor so the specific command would not be of much help there. Think more along the lines of Word, WordPad or other rich text editors which allow strikethrough and bolding. Dragon® has built-in commands for bolding, italicizing and underlining (assuming the conventional keyboard shortcuts for each exist in the target application) but not for strikethrough nor normalizing (removing all formatting/styling). Imagine the target application had keyboard shortcuts for things like "make the selected text's color various-popular-colors". We could create a command "Paint various-popular-colors dictation" which would select the phrase which was equal to "dictation" and change its text color to the specified color. The big challenge was to figure out how to accomplish: HeardWord "select ", dictation in the middle of an Advanced Script. It turns out that the solution was to pass that part of the job off to an external application so that the work was done before the script exited instead of after the script exited.

 

I understand the solution you went for, which is probably completely beyond me.

 

However, it sounded like the command that I quoted was actually successful for mimicking the "select <dictation>" command that's built into Dragon – something that I would love to be able to mimic reliably.


I tried the same command in Microsoft Word, and got the same result that I got in Notepad: Rather than selecting the uttered text that already existed on the page, it simply typed the other text, as though the command was nothing more than `SendKeys ListVar1`

 

However, Alan Cantor said that it worked for him. I thought maybe it would work for me because I'm on 15.6



-------------------------

Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017.

Statistics
32287 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 1 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 360 guests browsing this forum, which makes a total of 361 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.