Imagine that I am dictating into a RichTextBox field. I utter "The quick brown fox jumped over the lazy dog". After a brief pause, I utter "bold quick brown". Dragon has some built-in command which recognizes this and just "does the right thing"; it has similar built-in commands for italicize and underline but not for strikethrough/strikeout.
I cannot figure out how to write a script which accomplishes "Strikethrough|Strikeout <dictation>". I've tried the obvious:
Sub Main
Dim selection As String
selection = "select " & ListVar1
HeardWord selection
Wait 0.4
SendKeys "%s", 1
End Sub
"%s" is the accelerator for the "Strikethrough" item. If I utter "press alternate Sierra" or do the same with the keyboard (after selecting something "somehow") the selection is struck through.
The real question here is, how do I "select <dictation>" from within an Advanced Scripting macro?
-------------------------
-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