Pasting text one letter at a time

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
vt0arxa7ul
Posts: 1
Joined: 22 Oct 2021, 08:27

Pasting text one letter at a time

Post by vt0arxa7ul » 22 Oct 2021, 08:36

Hello

I've been trying to find a script similar to this one viewtopic.php?f=76&t=87594, but it does have a flaw where you are unable to copy and paste a text with "!" it always seems to skip past it. If anyone knows a way around it, it would be much appreciated.

User avatar
mikeyww
Posts: 26885
Joined: 09 Sep 2014, 18:38

Re: Pasting text one letter at a time

Post by mikeyww » 22 Oct 2021, 09:43

Code: Select all

+^v::
Loop, Parse, % StrReplace(Clipboard, "`r`n", "`n")
{ Send {Text}%A_LoopField%
  Random, rand, 80, 120
  Sleep, rand
}
Return

Post Reply

Return to “Ask for Help (v1)”