Sign in to follow this  
Followers 0
lilandywandy

Help please....couple questions

2 posts in this topic

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



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...


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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  
Followers 0