disable PyAutoGUI fail-safe feature
This commit is contained in:
@@ -11,6 +11,9 @@ import cv2
|
|||||||
import pygetwindow as gw
|
import pygetwindow as gw
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import pyautogui
|
import pyautogui
|
||||||
|
|
||||||
|
# Disable the PyAutoGUI fail-safe feature.
|
||||||
|
pyautogui.FAILSAFE = False
|
||||||
from pynput import keyboard
|
from pynput import keyboard
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
from PIL import ImageGrab, Image, ImageTk
|
from PIL import ImageGrab, Image, ImageTk
|
||||||
|
|||||||
Reference in New Issue
Block a user