当系统锁定时,pyautogui.locateCenterOnScreen()返回None

时间:2020-01-27 11:32:33

标签: python pyautogui lackey

我试图使用var attrs = typeof(IMyInterface).GetCustomAttributes(typeof(System.ComponentModel.DisplayNameAttribute), false); 获取图像的坐标, Windows解锁后,它可以完美工作。但是,当Windows锁定时,它不起作用。

代码

pyautogui.locateCenterOnScreen('image')

我请求您对此进行帮助。

同样的问题仍然存在于小偷gui_automation

0 个答案:

没有答案
相关问题