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.