To be honest... this is what Im trying to do:

11/05/2017 15:27 milomoves#1
I have been working on a script in autoit that will test promo codes for me in an automated web browser.

I have gotten so far as to automating opening the browser (IE) to the check out screen, inputting a set value (ie 125) into the text box and submitting the form.

However, I need to create a loop that will test the set number and test the next numbers in the sequence (ie 125, 126, 127 and so on) then report back which ones actually worked based on the error message the browser generates.

Does anyone have a quick script for this? Doesnt need a gui at this point.

Thanks.

-Milo
11/05/2017 16:52 warfley#2
Just learn the language, you have a perfectly well fitted Problem for a beginner, the problem is simple and is solvable by only applying basic language features (loops and conditions).

You need to [Only registered and activated users can see links. Click Here To Register...] through your sequences and [Only registered and activated users can see links. Click Here To Register...] you can [Only registered and activated users can see links. Click Here To Register...]
11/05/2017 22:03 milomoves#3
I appreciate that warfley. I have been researching this all week and have come to the conclusion that yes autoit would be the best solution for me. Its just hard finding the terms to build what I need to build. I know what I want, just not how to research so I appreciate your links.

Some of these things I have looked at. I am really just stuck on increasing my number by one and entering it into the text box. I kind of understand the loops and I do understand how to get autoit to submit the data. What I dont understand it how to get it to add one and submit each time.
11/05/2017 23:32 Moneypulation#4
Well, I guess you are using [Only registered and activated users can see links. Click Here To Register...] to enter your desired value into the form. If so, just look up the link. The second parameter of the function defines the value to be set. Instead of just writing a number into it like 125, you can first define a variable like $number = 125 and by using a loop iterate through the process of submitting the value and entering it again by adding it with one ($number++ or $number = $number + 1)
11/06/2017 00:43 milomoves#5
Well I figured everything else out except how to make the variable that will be input into the text box increase by one with every loop. Sadly that is the most important part lol.