Hello, I'm new to AutoHotkey and I'm totally clueless.
What I want to achieve is, to lock the computer when a certain device is disconnected.
I tried using 'OnMessage', but the only function related is 'WM_DEVICECHANGE = 0x219'.
If I use that, you can't specify which device triggers the action, also a new connection will also count. I want a certain device's disconnect to trigger the action, that is locking my computer. Is that achievable?
Any help is greatly appreciated... thanks a lot in advance everyone.
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1