Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SendMode Input
  2.  
  3. Input := 500000
  4. price := NULL
  5. Left::
  6.   While GetKeyState("Left","P")
  7.   {
  8.  
  9.    
  10.  
  11.    
  12.     Click, 1000 ,100
  13.  
  14.    
  15.     Run, C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "805 191 920 221" --clipboard ,,Hide
  16.     price := Regexreplace(Clipboard, "i)^L", "1")
  17.     price := Regexreplace(price, "[^0-9]", "")
  18.    
  19.     Tooltip, %price%
  20.     Sleep, 250
  21.    
  22.     if (price < Input && price > 0){
  23.         Tooltip, KAUFEN
  24.         SoundBeep
  25.     }
  26.  
  27.     Click, 1030 ,100
  28.    
  29.     Run, C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "805 191 920 221" --clipboard ,,Hide
  30.     price := Regexreplace(Clipboard, "i)^L", "1")
  31.     price := Regexreplace(price, "[^0-9]", "")
  32.    
  33.     Tooltip, %price%
  34.    
  35.     Sleep, 250
  36.    
  37.     if (price < Input && price > 0){
  38.         Tooltip, KAUFEN
  39.         SoundBeep
  40.     }
  41.    
  42.   }
  43. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement