KingPin Posted September 17, 2006 Share Posted September 17, 2006 (edited) I am working on a test script that helps me test database/webserver load. it asks for text and then posts the text every so often(i randomized it), but the thing is for the real load test I need to differentiate the words a bit per post (for the indexing system to get stressed a bit) how do I add auto incrementing numbers after the text? im using IE.au3, using _IEFormElementSetValue() where message is the message I input into a text box before the program begins. ofcourse great would be to ask what number to begin at.. so I could add another text box to the gui this one asking what number to begin incrementing from.... Any help is very much appreciated... Edited September 17, 2006 by KingPin Link to comment Share on other sites More sharing options...
dandymcgee Posted September 17, 2006 Share Posted September 17, 2006 (edited) $indexnum = 1 Send("WORDHERE" & $indexnum) $indexnum = $indexnum + 1 Would this work maybe(You'd have to change send with whatever your using.)? Edited September 17, 2006 by dandymcgee - Dan [Website] Link to comment Share on other sites More sharing options...
KingPin Posted September 17, 2006 Author Share Posted September 17, 2006 I will try that, and respond once I get more time and actually get to implement this (still at work on optimising mysql on all 3 DB servers so I get time here and there to work on this). thank you tho Link to comment Share on other sites More sharing options...
dandymcgee Posted September 17, 2006 Share Posted September 17, 2006 still at work on optimising mysql on all 3 DB servers so I get time here and there to work on this)Wish I knew what that meant, lol. If it works, glad I could help. I'm still not great when it comes to understanding anything to do with internet/HTML/servers. - Dan [Website] Link to comment Share on other sites More sharing options...
KingPin Posted September 17, 2006 Author Share Posted September 17, 2006 (edited) heh, well Im working on the implementation so far and it added the 1 but didnt increment to 2 ... will work on that maybe I put it in wrong. will post back with results...Works perfectly, thank you Edited September 17, 2006 by KingPin Link to comment Share on other sites More sharing options...
dandymcgee Posted September 17, 2006 Share Posted September 17, 2006 Sure, no problem . Glad I could help, even though I don't have the slightest idea what your doing...lol. You stated your question very clearly, and I knew exactly what you needed. If you ask a clear question, you are much more likely to get a clear and fast reply. Hope everything works out with whatever your making - Dan [Website] Link to comment Share on other sites More sharing options...
KingPin Posted September 18, 2006 Author Share Posted September 18, 2006 (edited) heh yeah I know how I feel when someone from our staff calls in and tell me something ambiguous like my computers not working omg! please help, and then they hangup.... now I wont know whats going on nor do I know what to take with me since I dont know if its a hardware/software problem or just a I.D.1.0.T. error hence when I want help, I try to be descriptive... anyhoo thanx for your help Edited September 18, 2006 by KingPin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now