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?

1

2 Answers 2

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

1
  • A loop in AHK, that's a brilliant idea! Thanks!
    – zoagli
    May 6, 2016 at 13:26
-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

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .