Skip to content

Instantly share code, notes, and snippets.

@larshp
Last active February 28, 2023 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save larshp/ee23a6e5d3ddb6038da9a705b0238ea1 to your computer and use it in GitHub Desktop.
Save larshp/ee23a6e5d3ddb6038da9a705b0238ea1 to your computer and use it in GitHub Desktop.
Escape::
ExitApp
Return
#n:: ; Windows Key + N
index := 1
text =
Loop, read, C:\Users\Desktop\input.txt
{
Loop, parse, A_LoopReadLine, %A_Tab%
{
temp := StrReplace(A_LoopField, ";", A_Tab)
text = %text%%temp%`r`n
if (Mod(index, 30) = 0) {
Paste(text)
text =
SendInput {PgDn}
Sleep 500
}
index++
}
}
Paste(text)
Paste(text) {
clipboard = %text%
Sleep 20
Send ^v
Sleep 200
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment