Jump to content
Sign in to follow this  
lilandywandy

Help please....couple questions

Recommended Posts

lilandywandy

HotKeySet("{PAUSE}", "mExit")

MouseClick("left", 568, 23, 1)

While 1

If PixelGetColor(120,777) = Dec("7b7984") Then

Sleep(500)

Send("{F1}")

Sleep(7000)

Send("{F2}")

Sleep(200)

Send("{F1}")

Sleep(7000)

Send("{F2}")

Sleep(200)

EndIf

Wend

MouseClick(XXXXX)

MouseClick(XXXXX)

MouseClick(XXXXX)

MouseClick(XXXXX)

MouseClick(XXXXX)

Func mExit()

Exit

EndFunc

how do i make it so that this program once turn on is click in those places, and stops when If PixelGetColor(120,777) = Dec("7b7984") and does that command, and then resume clicking?

and also , the speed range 0 being fastest, whats slowest?

Share this post


Link to post
Share on other sites
buzz44

HotKeySet("{PAUSE}", "mExit")
MouseClick("left", 568, 23, 1)

While 1
   If PixelGetColor(120,777) = Dec("7b7984") Then   
      Sleep(500)
      Send("{F1}")
      Sleep(7000)
      Send("{F2}")
      Sleep(200)
      Send("{F1}")
      Sleep(7000)
      Send("{F2}")
      Sleep(200)
   Else
      MouseClick(XXXXX)
      MouseClick(XXXXX)
      MouseClick(XXXXX)
      MouseClick(XXXXX)
      MouseClick(XXXXX)
   EndIf
Wend

Func mExit()
   Exit
EndFunc

The speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10. Straight out the help file...


qq

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.