Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 10:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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

Discussion on To be honest... this is what Im trying to do: within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2017
Posts: 4
Received Thanks: 0
Question To be honest... this is what Im trying to do:

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
milomoves is offline  
Old 11/05/2017, 16:52   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,137
Received Thanks: 573
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 through your sequences and you can
warfley is offline  
Thanks
2 Users
Old 11/05/2017, 22:03   #3
 
elite*gold: 0
Join Date: Nov 2017
Posts: 4
Received Thanks: 0
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.
milomoves is offline  
Old 11/05/2017, 23:32   #4

 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,494
Received Thanks: 1,769
Well, I guess you are using 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)
Moneypulation is offline  
Thanks
1 User
Old 11/06/2017, 00:43   #5
 
elite*gold: 0
Join Date: Nov 2017
Posts: 4
Received Thanks: 0
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.
milomoves is offline  
Reply


Similar Threads Similar Threads
Your Honest Opinion
05/22/2010 - Dekaron - 5 Replies
I am new to this site... obviously. This site seem to be the only 2moons hacking site beside mpcforums.pl but that is in polish and google translator is horrid This site seems to be very outdated and advanced users seem to be either under the assumption that this stuff is general knowledge and do not care to explain. This site seems to support CE which is generally for semi-advanced users. I understand you do not support 1 click hacks as it will ruin the game... (or you were...
helomelo Honest or Scammer
04/05/2010 - Silkroad Online Trading - 9 Replies
Hello: i wanna make a deal with this guy he offers me $40 for a char only problem no MM is available... so he wants me to go first.... Honest or Scammer
Let's be honest
07/27/2007 - Conquer Online 2 - 25 Replies
Hi! This is my first topic, so don't be mad for me if i can't do something good. :D Well, let's stay in topic: I have been trying to get unlimited exp balls too. (I think all the ppl in ElitePvPers etc. r...) If we are honest, who would ever tell how to get unlimited exp balls if someone would figure that out? :? Ok, now u think 'Wtf he is noob, wouldn't tell 2 elite pvpers guys or anything, whatta noob :eek: ', BUT think what would happen if that would come out! Elite Pvpers...
I'll be honest, I feel lazy.
04/10/2007 - Conquer Online 2 - 0 Replies
Ok, so, you know that you can make yourself look like you have superman by making the effect last while you are the team leader, can you do this for Vigor too? Reason I ask and not do myself is cuz im not feeling too good and i am lazy right now:) Hope you understand, -Katsu



All times are GMT +1. The time now is 10:23.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.