danner Posted January 5, 2007 Share 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.. Link to comment Share on other sites More sharing options...
therks Posted January 5, 2007 Share Posted January 5, 2007 I think it would be Send("{Tab Down}") My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
BigDod Posted January 5, 2007 Share Posted January 5, 2007 For the timed loop part look at TimerInit and TimerDiff 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 Link to comment Share on other sites More sharing options...
danner Posted January 5, 2007 Author Share Posted January 5, 2007 The Tab Down works like a charm, and timerinit could work aswell, not perfect yet... thanks for the replies 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