Move macos screenshot code into the class, add config file only flag to use old API

This commit is contained in:
AuroraWright
2025-05-05 05:54:38 +02:00
parent 413d02359b
commit eaca5bf006
3 changed files with 51 additions and 50 deletions

View File

@@ -28,6 +28,7 @@
;screen_capture_delay_secs = 3
;note: this specifies a combo to wait on for taking a screenshot instead of using the delay. As an example: <ctrl>+<shift>+s. The list of keys can be found here: https://pynput.readthedocs.io/en/latest/keyboard.html#pynput.keyboard.Key
;screen_capture_combo = <ctrl>+<shift>+s
;screen_capture_old_macos_api = False
;[winrtocr]
;url = http://aaa.xxx.yyy.zzz:8000
;[oneocr]