YoBroTagMo Posted March 7, 2015 Share Posted March 7, 2015 So I made this search bot to rack up some bing points: #include <IE.au3> Call ("SignIn") Func SignIn () Global $oIE = _IECreate ("https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=12&ct=1425740849&rver=6.0.5286.0&wp=MBI&wreply=https:%2F%2Fwww.bing.com%2Fsecure%2FPassport.aspx%3Frequrl%3Dhttps%253a%252f%252fwww.bing.com%252f%253fwlexpsignin%253d1&lc=1033&id=264960") Local $username = _IEGetObjByName ($oIE, "login") Local $password = _IEgetObjByName ($oIE, "passwd") Local $signin= _IEGetObjByName ($oIE, "SI") Local $search = _IEGetObjByName ($oIE, "q") Local $go = _IEGetObjByName ($oIE, "go") _IEFormElementSetValue ($username, "private") _IEFormElementSetValue ($password, "private") _IEAction ($signin, "click") _IEFormElementSetValue ($search, "aback") _IEAction ($go, "click") _IEFormElementSetValue ($search, "abacus") _IEAction ($go, "click") _IEFormElementSetValue ($search, "abaft") _IEAction ($go, "click") _IEFormElementSetValue ($search, "harmony") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Dead") _IEAction ($go, "click") _IEFormElementSetValue ($search, "why") _IEAction ($go, "click") _IEFormElementSetValue ($search, "explode1") _IEAction ($go, "click") _IEFormElementSetValue ($search, "What") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Appaled") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Move") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Get") _IEAction ($go, "click") _IEFormElementSetValue ($search, "out") _IEAction ($go, "click") _IEFormElementSetValue ($search, "the") _IEAction ($go, "click") _IEFormElementSetValue ($search, "way") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Roll") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Folly") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Dean") _IEAction ($go, "click") _IEFormElementSetValue ($search, "lean") _IEAction ($go, "click") _IEFormElementSetValue ($search, "mean") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Green") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Shut") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Your") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Face") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Sean") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Allot") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Destroy") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Destruct") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Wow") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Editing") _IEAction ($go, "click") _IEFormElementSetValue ($search, "Pack") _IEAction ($go, "click") EndFunc However, i need it to pause a few seconds in between each line of code, or else it will mess up in the search process. How do i do this? Link to comment Share on other sites More sharing options...
Solution kylomas Posted March 7, 2015 Solution Share Posted March 7, 2015 You will find out shortly why you should have read the forum rules. Link at the bottom right of the page... Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
meows Posted March 8, 2015 Share Posted March 8, 2015 27 sleep(500) and your about to get your hand slapped.. 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