Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir `%A_ScriptDir`% ; Ensures a consistent starting directory.
- :*T:thamgia::
- SendInput,
- (
- Chào bạn ____________________. Cảm ơn bạn đã tham gia vào nhóm Mạng lưới người thân, bạn bè của người có niềm tin tiêu cực facebook.com/groups/thaydoiniemtintieucuc^{Home}{right 9}
- )
- TextToSend := "
- (
- first line
- second line
- )"
- 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