After using the pyautogui.alert()、pyautogui.confirm()、pyautogui.prompt() functions, the calls to the keyboard functions have no effect, but the calls to the mouse functions are normal.This could be a BUG,or maybe it's a problem with my system.If it's a bug please fix it,Thank you very much!Best wishes to everyone!
On my operating system:ubuntu 20.04,python interpreter:3.8.10,and scrot、python3-tk、python3-dev、PyTweening、PyScreeeze、PyGetWindow、PymsgBox、MouseInfo are all installed.
I'm sorry, this is a cheap mistake I made, the reason the keyboard function fails after calling 'Message Box Functions' is that the window I want to type in has no focus.
After using the pyautogui.alert()、pyautogui.confirm()、pyautogui.prompt() functions, the calls to the keyboard functions have no effect, but the calls to the mouse functions are normal.This could be a BUG,or maybe it's a problem with my system.If it's a bug please fix it,Thank you very much!Best wishes to everyone! On my operating system:ubuntu 20.04,python interpreter:3.8.10,and scrot、python3-tk、python3-dev、PyTweening、PyScreeeze、PyGetWindow、PymsgBox、MouseInfo are all installed.