nugget Posted December 15, 2003 Posted December 15, 2003 alright i got the script working easy for what i need it to do.. decided i would add a few more things to it to work more effectivly.. my only problem is it wont press ARROW UP for me. im using version 2 this is what i have sleep, 2000 send, ^i sleep, 5000 send, {NUMPADADD}{enter} sleep, 3000 send, {UP}{enter} sleep, 3000 send, {UP}{enter} sleep, 3000 send, {ESC} the thing is it wont press UP ive tried it on its own line ive tried using {UP 1} that doesnt work iether am i missing something? last question little more difficult is there a way to make the program respond when it sees a peice of text ie: sleep till if, {"you can re log in"} soon as it sees that text it would then run the script? i dont know if that can be done but let me know please. other then that awsome program you guys have here and its FREE! - nugget
Beastmaster Posted December 15, 2003 Posted December 15, 2003 WinWaitActive, <Window Title> [,<Window Text> [,<Timeout>]]Detect:WinWaitActive,Window Title, you can re log in,1IfEqual,ERRORLEVEL,1, Goto, Detect
redndahead Posted December 15, 2003 Posted December 15, 2003 In between each screen I would add the winwait's to make sure your that screen has the focus. I do it like this *taken from Larry* WinWait,MyTitle,MyText WinActivate,MyTitle,MyText WinWaitActive,MyTitle,MyText Just add this in between each window that comes up and it should help to remained focus. This is probably the problem you are having. Or the control you're trying to manipulate doesn't obtain focus when the screen starts. red
nugget Posted December 17, 2003 Author Posted December 17, 2003 dont know why it wasnt working using {UP} BUT {DOWN} works so that ok is there a way to make a script find a peice of text the windows are setup right already i just need it to hit enter when a peice of text apears IE: IF, something has caught on the hook! text came up. sleep, 2000 send, {ENTER} IF, You lost your catch text comes up. it would start the loop over.
CyberSlug Posted December 17, 2003 Posted December 17, 2003 is there a way to make a script find a peice of textThere is limited way to do this with AutoIt v3 for textboxes and certain controls.I don't know about AutoIt v2. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Recommended Posts