I have a few lines of code like this. Each iteration will add 1 record to the list. i have tried setting the number of iterations to 100 but sometimes record list is just 97 or less than 100. i can't find the cause. what can I do to fix it?
loop, % loopNum { ie.Document.QuerySelector("input[id='textIndex']").value := A_index ie.Document.QuerySelector("input[value='Add']").Click() IE.WaitComplete(ie) // check if IExplorer is complete status then sleep 100s } https://stackoverflow.com/questions/66792049/the-loop-does-not-repeat-properly-with-a-specified-number-of-repetitions-in-ahk March 25, 2021 at 10:05AM
没有评论:
发表评论