Last active
June 14, 2018 06:32
-
-
Save eai04191/533150886019a3b56b1635aa0a66290f to your computer and use it in GitHub Desktop.
タイピング速度診断 #cheat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
windowtitle := "タイピング速度測定 | 無料でタイピング速度診断ゲーム - Google Chrome" | |
SetKeyDelay, 33 | |
F1:: | |
Pause | |
F2:: | |
Loop | |
{ | |
WinActivate, %windowtitle% | |
Send , !+{PrintScreen} | |
RunWait, cmd.exe /k "convert -crop 740x40+283+392 clipboard: png:- | tesseract.exe stdin stdout | clip && exit", C:\Program Files (x86)\Tesseract-OCR\ | |
StringReplace, clipboard, clipboard, Warning. Invalid resolution 0 dpi. Using 70 instead. | |
WinActivate, %windowtitle% | |
Click, 620, 444 | |
Send, %clipboard% | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment