4

Some rich text editors, e.g. Confluence, allow typing formatted content as markup and convert it to rich-text on the fly. This means I cannot paste markup content into the editor.

How do I simulate typing the copied text from my clipboard content into the rich-text editor?

Dave
  • 25,513
zoagli
  • 555
  • 1
  • 6
  • 13

2 Answers2

3

You're after a tool, which is off topic. I'm also not going to do your work, but will provide you the steps you need :)

For your needs you can use Auto Hot Key

The logic is you copy text, iterate through and send each character

Pasting from the clipboard should be simple https://autohotkey.com/board/topic/103489-pasting-clipboard-contents/

You then iterate through each character in the clipboard https://autohotkey.com/docs/commands/LoopParse.htm

and finally send that character via Send

Dave
  • 25,513
-2

; once the script is running, you have 3 seconds to switch to the ; position and wait for the insertion of the texts within the clipboard

Sleep 3000 ; wait 3 seconds Send, %clipboard% Return