I generally run AutoHotkey because this is generally good at controlling Windows in a variety of ways. For example, I have a script that puts Windows to sleep that I use with an external USB icon touch bar. Using the mouse, it is at least 3 clicks or a similar number of key presses, with the script and the bar, it is a single finger touch ![]()
Of course, you can trigger an AHK script from Node-RED easily enough.