tagaria

Honorable
Nov 10, 2017
16
0
10,510
I'm considering using AutoHotkey to write a script that enables my Logitech keyboard's volume control to adjust the volume on my SteelSeries headset. Before proceeding, I want to ensure I've covered all bases. Are there any permissions or potential pitfalls I should be aware of? Is there anything I could accidentally disrupt with a straightforward volume control script?


Thanks!
 
The problem is that you need to have some way of making Autohotkey alter the SteelSeries headset volume. However, with proprietary software /drivers, it is not very likely the manufacturer have included an API so that it can be controlled by other software.
 

tagaria

Honorable
Nov 10, 2017
16
0
10,510
The problem is that you need to have some way of making Autohotkey alter the SteelSeries headset volume. However, with proprietary software /drivers, it is not very likely the manufacturer have included an API so that it can be controlled by other software.
But does that matter, even if i make the configuration in Windows?
 
Mar 27, 2024
32
8
45
Are you thinking about using the keys to open the windows/app that is used to adjust the volume and then simulates manual adjustments? The one thing that you may have to do (unless they've come up with something else since), is to run the script in admin mode to get this to work also in admin-elevated apps. This opens up an attack surface of slipping in an admin-level code to run on your machine. If you can reliably protect yourself from malware, this may not be a problem.

Other than that, this is one of the things that autohotkey is useful for.

ps: there had been Autohotkey-specific malware in the past.
 

tagaria

Honorable
Nov 10, 2017
16
0
10,510
Are you thinking about using the keys to open the windows/app that is used to adjust the volume and then simulates manual adjustments? The one thing that you may have to do (unless they've come up with something else since), is to run the script in admin mode to get this to work also in admin-elevated apps. This opens up an attack surface of slipping in an admin-level code to run on your machine. If you can reliably protect yourself from malware, this may not be a problem.

Other than that, this is one of the things that autohotkey is useful for.

ps: there had been Autohotkey-specific malware in the past.
That is basically one of the pitfalls i was looking for(malware). I was just asking for the sake of convenience. So i think i will skip it!

Thanks!


This thread can be closed.
 

lantis3

Distinguished
Nov 5, 2015
856
149
19,070
There is an alternative called AutoIt, no idea if it requires admin rights.

Wrote a few scripts in the past. You can double click the script or convert the script to exe to run it.

The problem is that if can control individual sound device.
 
Last edited:
Mar 27, 2024
32
8
45
That is basically one of the pitfalls i was looking for(malware). I was just asking for the sake of convenience. So i think i will skip it!
Hey, I understand, but if you change your mind in the future, maybe using ransomware protections on folders with Window Defender or something similar in AV solutions would mitigate this problem. If you explore this path, let us know!
 

Ralston18

Titan
Moderator