Hello!
I'm looking for something similar to a key logger, to record what I type when I press enter, and to stop recording when I press enter again. So I can press enter and then paste what was previously typed. League doesnt allow you to copy and past in chat so I am looking for a script to help do that
[LF] Macro for chat league of legends
Re: [LF] Macro for chat league of legends
Code: Select all
#SingleInstance force
#NoTrayIcon
FileDelete, %A_Temp%\lolchat.txt
Gui, +ToolWindow
Gui, Show, w200 h0, LoLChatMacro
typing = 0
Loop
{
if (typing = 1){
Input, Text, C V T2
StringReplace, Text, Text, `r`n`r`n, `r`n
FileAppend, %Text%, %A_Temp%\lolchat.txt
}
}
return
ENTER::
if (typing = 0){
FileDelete, %A_Temp%\lolchat.txt
typing = 1
}
else if (typing = 1)
typing = 0
return
^V::
FileRead, Paste, %A_Temp%\lolchat.txt
Send, %Paste%
return
GuiClose:
ExitApp
Is that what are you looking for?
Hi
Who is online
Users browsing this forum: vikasgandhi and 74 guests