disable PyAutoGUI fail-safe feature

This commit is contained in:
2025-07-22 09:39:00 +02:00
parent 03133c2ff9
commit 5419c4454b
+3
View File
@@ -11,6 +11,9 @@ import cv2
import pygetwindow as gw
import numpy as np
import pyautogui
# Disable the PyAutoGUI fail-safe feature.
pyautogui.FAILSAFE = False
from pynput import keyboard
import tkinter as tk
from PIL import ImageGrab, Image, ImageTk