python 自动锁定屏幕实现并打包成exe 添加到自启动中

需求: 1.检测2分钟没有移动鼠标,锁定计算机。 2.检测45分钟自动锁定计算机,提醒用户休息,久坐有害健康。   import ctypes; import threading; import time; import os; import pyautogui as pag def shotdown():     dll = ctypes.WinDLL('user32.dll');     dl
相关文章
相关标签/搜索