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 & Shokz OpenComm UC version 1 wireless headset, 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