I have a block of text containing multiple lines and want to send it to a chap app line-by-line. I want to have a procedure like this:
- I type in a hotstring trigger (say,
hotstringtrigger
), and AutoHotKey will send the first line (the text should stay in the input box of chat app) - I edit it to suit my need
- I press Enter. The chat app will send the text, and AutoHotKey will send the next line
- Return to 2 until no more line is left
- Enter will act normal after that, until
hotstringtrigger
is typed again
So far, my attempt is to split it into multiple hotstrings:
:*:hotstringtrigger::first line
:*:hotstringtrigger2::second line
:*:hotstringtrigger3::third line
...
But this has some disadvantages:
- Use many hotstrings
- Have extra key presses
This page doesn't seem to cover this: Hotstrings - Definition & Usage | AutoHotkey