Hello ![:)]()
I'm a bit stumped on how to get over this problem I'm having with the Do ... Until loop expression.
As you can see below, I'm trying to make the variable gridID so it'll be "ctl01, ctl02, ctl03" and so on. My only problem comes to double digits, where it'll turn into "ctl010" which won't match up to the IE form element name.
Is there a way to either make $i into 01, 02 with a zero infront of otherwise single digits, or would I have to think of a conditional statement with two different versions of the equation?
Thanks
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/smile.png)
I'm a bit stumped on how to get over this problem I'm having with the Do ... Until loop expression.
As you can see below, I'm trying to make the variable gridID so it'll be "ctl01, ctl02, ctl03" and so on. My only problem comes to double digits, where it'll turn into "ctl010" which won't match up to the IE form element name.
Is there a way to either make $i into 01, 02 with a zero infront of otherwise single digits, or would I have to think of a conditional statement with two different versions of the equation?
[ autoit ]
Thanks
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/smile.png)