开发者

Run AutoHotkey script when screen locked?

开发者 https://www.devze.com 2022-12-17 03:51 出处:网络
I\'ve written a couple of scripts with AutoHotkey, but I notice they only work when a user is logged in and the screen isn\'t locked.

I've written a couple of scripts with AutoHotkey, but I notice they only work when a user is logged in and the screen isn't locked.

I'd like to schedule the script to run. Does anyone know if that is possible with AutoHotkey, or if there is another program with similar functionality that开发者_JAVA技巧 can run a script when the screen is locked?

Thanks!


You can use the system task scheduler to schedule the execution of the script. The scheduler accepts a username and id and will run the script under that account.

Incidentally, I have found that hotkey mappings and hotstrings DO work when the screen is locked, but of course anything that sends keys to or otherwise interacts with open windows won't.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号