A lot of code which I'll not enter into, but there is already a plugin that reacts to hotkeys:
https://forum.rainmeter.net/viewtopic.php?t=18849
Apart from the fact that such hotkeys are reacted to regardless of whether the skin using them is focused or not, that should simplify your tasks considerably.
Also, to enable or disable the Shutdown Event Tracker:
https://www.tenforums.com/tutorials/78343-enable-disable-shutdown-event-tracker-windows-10-a.html
https://forum.rainmeter.net/viewtopic.php?t=18849
Apart from the fact that such hotkeys are reacted to regardless of whether the skin using them is focused or not, that should simplify your tasks considerably.
Also, to enable or disable the Shutdown Event Tracker:
https://www.tenforums.com/tutorials/78343-enable-disable-shutdown-event-tracker-windows-10-a.html
Statistics: Posted by Yincognito — Today, 10:25 am — Replies 2 — Views 39