hi I've a problem with merging a text to a single string, so recently I learned that the next code gives you the whole list of a dropdownlist:
Code: Select all
ControlGet, List, List,, Combobox10, file.ahk
problem is I get it multiple lines, not like option1|option2|etc, but option1 (enter) option 2 (enter) etc.
I've tried this, but it gives me error illegal character, which is stupid I don't get that error anywhere else in my code:
Code: Select all
Loop, parse, List, `n,
{
dropdownlist.=%A_Loopfield%
sleep 10
}
return
I know the problem is with that line, but I don't know a simple method to merge loopfield, other than iniwriting them and recalling them, which would be an huge hassle, does anyone know a shorter method?