I would like to accomplish an easy to maintain source for inserting and swapping out multi-line texts that are being sent line by line. In essence I bet it is quite easy to realize, though I cannot quite come up with anything efficient and elegant.
The core idea is to send song lyrics line by line in a chat.
I do it this way right now:
Code: Select all
$F8::
SendInput Maybe I'm foolish, maybe I'm blind
Send {Enter}
Sleep 3350
SendInput Thinking I can see through this and see what's behind
Send {Enter}
Sleep 3350
SendInput Got no way to prove it so maybe I'm blind
Send {Enter}
Sleep 4350
; etc. . .
return
Obviously swapping out 5-10 lines like this takes ages and requires back and forth switching, copy pasting, etc.
I would love for something like this in theory:
Code: Select all
lyrics=
(
this
is a multiline
text passage
with some paragraphs
and spaces
does this even work?
)
; ---
;function call
sendLyrics(lyrics)
I firmly believe that some of you smart people can easily come up with something fitting