Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.58 KB | None | 0 0
  1. HotKeySet("+{BACKSPACE}","reveal")
  2.  
  3. $scroll = 0
  4. $step = 2
  5.  
  6. Func reveal()
  7.     If $step = 1 Then
  8.         $scroll = 0
  9.         $step = 2
  10.     Else
  11.         $scroll = 0
  12.         $step = 1
  13.     EndIf
  14. EndFunc
  15.  
  16. While 1
  17. Switch $step
  18.     Case 1
  19.         $art = PixelSearch(310,290,670,665,0x43B705);(245,285,600,610,0x43B705)
  20.         If Not @error Then
  21.             MouseClick("left",$art[0],$art[1],1)
  22.             Sleep(100)
  23.         Else
  24.             MouseClick("left",680,650,1);("left",615,650,1)
  25.             $scroll += 1
  26.             Sleep(100)
  27.         EndIf
  28.         If $scroll >= 19 Then
  29.             $scroll = 0
  30.             $step = 2
  31.         Else
  32.             Sleep(10)
  33.         EndIf
  34.     Case 2
  35.         Sleep(500)
  36. EndSwitch
  37. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement