Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #If WinActive("ahk_class Notepad++")
- return
- :*T:az::
- SendInput,
- (
- fsd
- )
- TextToSend := "
- (
- Text
- with
- multiple
- lines
- )"
- lines := StrSplit(TextToSend, "`n", "`r")
- i := 1
- ~Enter::
- if (i > lines.length())
- return
- SendInput, % "{Text}" lines[i]
- i++
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement