windplume
V2EX  ›  问与答

公司在电脑上装了锁屏软件,有什么办法阻止锁屏

  •  
  •   windplume · Oct 14, 2024 · 2450 views
    This topic created in 756 days ago, the information mentioned may be changed or developed.
    公司在电脑上装了锁屏软件,只要鼠标键盘没在动,三分钟就会锁屏,解锁又要输一长串密码,就很烦。我用 pyautoguiu 模拟鼠标移动,但是没用一样会锁屏。
    8 replies  •  2024-10-14 17:14:19 +08:00
    ssguozz
    ssguozz
    Oct 14, 2024❤️1
    1
    pyautogui.press('f24')
    亲测有效
    among
    among
    Oct 14, 2024
    2
    chrome 插件:防止休眠或屏幕关闭
    sideny
    sideny
    Oct 14, 2024
    3
    pyautoguiu 模拟按键试试
    pyautogui.press('left')
    pyautogui.press('right')
    JamesR
    JamesR
    Oct 14, 2024
    4
    随便拿个东西压住 Ctrl 键不行吗?
    GoGoFat
    GoGoFat
    Oct 14, 2024
    5
    windplume
    windplume
    OP
    Oct 14, 2024
    6
    @ssguozz 厉害,亲测有效
    Jim2Chen
    Jim2Chen
    Oct 14, 2024
    7
    @ssguozz 怎么用?要定期调用一下这个命令吗?
    ssguozz
    ssguozz
    Oct 14, 2024
    8
    @Jim2Chen 是的,在你电脑锁屏时间范围内(比如每隔 5 分钟),python 运行这个命令
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2445 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 05:18 · PVG 13:18 · LAX 21:18 · JFK 00:18
    ♥ Do have faith in what you're doing.