windplume
V2EX  ›  问与答

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

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