Unkn0wn Posted February 2, 2006 Posted February 2, 2006 Yeah.., i kinda asked the guys in the wrong section (V3) and they partly helped me out, but i'm new to this stuff and still can't figure out how to loop the process every 3 min.., can someone help me out?.., Thanks in advance ;Startloop ;~ random, timer, 180000, 190000 ;~ random, logof, 180000, 210000 ;~ random, repeat, 2, 5 ;Startloop: winactivate( 'Injustice - Microsoft Internet Explorer') sleep( 2000 ) send ('{ctrldown}f{ctrlup}') sleep (3000) send ('Steal Cheques') sleep(2000) send ('{enter}') send ('{enter}') send ('{enter}') sleep (2000) send ('{esc}') sleep (2000) send ('{tab}') sleep (2000) send ('{up}') sleep (2000) send ('{enter}') ;~ sleep (%timer%) ;Goto, Startloop
MHz Posted February 2, 2006 Posted February 2, 2006 If your new to AutoIt then v3 maybe a better option to learn. Perhaps more to learn in v3 but that also means better programmic control with scripts. My guess at what you want shown below. ;Startloop ;~ random, timer, 180000, 190000 ;~ random, logof, 180000, 210000 ;~ random, repeat, 2, 5 Startloop: winactivate, Injustice - Microsoft Internet Explorer sleep, 2000 send, {ctrldown}f{ctrlup} sleep, 3000 send, Steal Cheques sleep, 2000 send, {enter 3} sleep, 2000 send, {esc} sleep, 2000 send, {tab} sleep, 2000 send, {up} sleep, 2000 send, {enter} ;~ sleep (%timer%) Sleep, 180000 Goto, Startloop
Recommended Posts