Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SendMode Input
- Input := 500000
- price := NULL
- Left::
- While GetKeyState("Left","P")
- {
- Click, 1000 ,100
- Run, C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "805 191 920 221" --clipboard ,,Hide
- price := Regexreplace(Clipboard, "i)^L", "1")
- price := Regexreplace(price, "[^0-9]", "")
- Tooltip, %price%
- Sleep, 250
- if (price < Input && price > 0){
- Tooltip, KAUFEN
- SoundBeep
- }
- Click, 1030 ,100
- Run, C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "805 191 920 221" --clipboard ,,Hide
- price := Regexreplace(Clipboard, "i)^L", "1")
- price := Regexreplace(price, "[^0-9]", "")
- Tooltip, %price%
- Sleep, 250
- if (price < Input && price > 0){
- Tooltip, KAUFEN
- SoundBeep
- }
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement