Jump to content

holding tab and MouseClickDrag


 Share

Recommended Posts

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 :P

There's also the pasting it a million times option..

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...