Hi, there is any module/way which can tell windows (same PC running NR) to adjust volume? Thank you for answers
Hi... You could use some 3rd party software such as nirsoft (View / change sound volume on Windows from command line or GUI)
Then just call it with an exec node.. This would be the easiest way that I know of anyway
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.
Was the kick starter you funded?
How has it been? Last I knew - you were looking to add your own plugins?
Thank you mates for your kind suggestions,
I'm interested in AHK since it has a variety of functions and seams be more friendly to interact with NR, how do you launch the script? Are you using node-red-contrib-autokey?
Yes.
It's OK, you can write your own plugins using node.js and, I think, now Python as well.
Not to say it doesn't still have some rough edges software-wise, it certainly does. But it is a fun tool to have.
I would normally just tend to use an exec node TBH, I didn't even know about the node. ![]()
Ah, just looked and that node hasn't been updated in 10 years and has very little info. In fact, it does not actually seem to do ANYTHING with AHK! It uses another library called robot.js which is nothing to do with AHK.
Try this search to see different ways to interact with AHK scripts from node.js. Any of the libraries could probably work with Node-RED via a function node but the exec node to run the script is the simplest approach. That is also the approach used, I believe, by the touch bar.