I tested it and the right information is being sent as you said.
I need it to 1) mouseclick the x,y position (underlined, already done), parse each string in the csv (already done, also underline). However, for each line, I need it to send "enter" key (also done) and then repeat the mouseclick for the next line.
I believe I should add a Loop function until break for those SendInput {Enter} and mouseclick functions, right? Is it enough to call these function each CSV line at a time?
I need it to 1) mouseclick the x,y position (underlined, already done), parse each string in the csv (already done, also underline). However, for each line, I need it to send "enter" key (also done) and then repeat the mouseclick for the next line.
I believe I should add a Loop function until break for those SendInput {Enter} and mouseclick functions, right? Is it enough to call these function each CSV line at a time?
CODE:
WinWait, Editor Brasfoot 2020
WinWaitActive, Editor Brasfoot 2020
[u]MouseClick, left, 701, 685[/u]
Loop, Read, C:\Users\Felipe Barbosa\Desktop\teste.csv
[u]Loop, parse, A_LoopReadLine, CSV[/u]
{ Switch A_Index {
Case 8:
n := A_LoopField - 20
Send % "{" (n < 0 ? "Left" : "Right") " " Abs(n) "}"
Default: Send % "{Text}" A_LoopField "`t"
}
}
Sleep 500
[u]SendInput {Enter}[/u]
Statistics: Posted by filipemb — Today, 15:22