0

I would like to write a voice command to paste the clipboard in plain text. How can I convert rich text to plain text in advanced scripting?

I use Dragon NaturallySpeaking 12.5 professional with Windows 7 SP1 x64 Ultimate.

Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501

1 Answers1

0

I haven't found any solution using advanced scripting.

As a pis-aller, I have set up a shortcut that copies content to the clipboard using PureText 3.0:

enter image description here

enter image here

enter image description here

The following AHK script should also work, but might be unfriendly with Unicode characters:

^!v::
   ClipboardTemp = %ClipBoardAll%
   ClipBoard = %ClipBoard%
   Send ^v
   sleep, 30
   ClipBoard = %ClipboardTemp%
Return
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501