This is my first post here.
My apologies if I use incorrect terminology, I'm not a "programmer"
I need to parse a text file (CSV with no header) that is created by an application which I will use to seed my ahk script. The format of the file is:
Code: Select all
textfield1,textfield2,textfield3,textfield4,textfield5,textfield6
textfield1,textfield2,textfield3,textfield4,textfield5,textfield6
textfield1,textfield2,textfield3,textfield4,textfield5,textfield6
Code: Select all
loop, read, test.csv
Code: Select all
Choose:
Gui,Submit, Nohide
Run, http://%textfield1%/
WinWaitActive, ahk_class windowtext,,20
if ErrorLevel
{
MsgBox, WinWait timed out.
return
}
else
Send, textfield1{tab}textfield2{tab}{tab}{enter}
return
Gui Destroy
ExitApp
(only two variables are needed right now for each line of this proof of concept, but i may need the others in future iterations) or the program that generates the file may add or remove lines and fields from the source file but will always have at least 6 fields and one line.
"textfiels1" will always be unique, but any of the other fields will be the same.
Thanks a bunch for your time. I have not had much success as of yet.