danner 0 Posted January 5, 2007 Hey ppl, i basically want my script to do what it says, but somehow it doesn't hold the tab key when i use the following: While 1 if $Start = 0 Then sleep(100) EndIf if $Start = 1 Then Sleep(Random(3000,5000)) Send("7") Sleep(1000) Send("{{Tab} Down}}") Sleep(50) MouseClickDrag(1,232,1023,232,10) Sleep(50) MouseClickDrag(1023,232,1,232,10) Sleep(50) Send("{{Tab} Up}}") Sleep(Random(3000,6000)) Send("P") Sleep(Random(50,500)) EndIf WEnd Send("{Tab} Down") also doesn't work... Also, is it possible to put the mouseclickdrag in a timed loop, so it loops that for 1 minute and then continues? a few of my efforts failed horribly There's also the pasting it a million times option.. Share this post Link to post Share on other sites
therks 19 Posted January 5, 2007 I think it would be Send("{Tab Down}") Hide therks's signature Hide all signatures My AutoIt Stuff | My Github Share this post Link to post Share on other sites
BigDod 518 Posted January 5, 2007 For the timed loop part look at TimerInit and TimerDiff Hide BigDod's signature Hide all signatures Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Share this post Link to post Share on other sites
danner 0 Posted January 5, 2007 The Tab Down works like a charm, and timerinit could work aswell, not perfect yet... thanks for the replies Share this post Link to post Share on other sites