Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用 AutoHotkey 编写了几个脚本,但我注意到它们仅在用户登录并且屏幕未锁定时才起作用。
我想安排脚本运行。有谁知道 AutoHotkey 是否可以做到这一点,或者是否有另一个具有类似功能的程序可以在屏幕锁定时运行脚本?
谢谢!
您可以使用系统任务调度程序来安排脚本的执行。调度程序接受用户名和 ID,并将在该帐户下运行脚本。
顺便说一句,我发现热键映射和热字符串在屏幕锁定时确实有效,但当然任何发送键或以其他方式与打开的窗口交互的东西都不会。