I wanted to have control over the volume of AMS2 compared to the rest of my system sounds I managed to get it done by using autohotkey and nircmd.exe (NirCmd 64) I had to assign wheel-buttons, I couldn't get keyboard working once AMS2 has focus JoystickTest.ahk will reveal your buttons Make sure to adjust the paths in the following and save as .ahk script Joy26:: runwait, D:\Prime\Programs\nircmd-x64\nircmd.exe changeappvolume "D:\Games\steamapps\common\Automobilista 2\AMS2AVX.exe" -0.1 return Joy28:: runwait, D:\Prime\Programs\nircmd-x64\nircmd.exe changeappvolume "D:\Games\steamapps\common\Automobilista 2\AMS2AVX.exe" 0.1 return NirCmd - Windows command line tool scroll down to bottom
I adjusted the script a little, It now works for all window that has focus, so for every game And I added the option to start CrewChief incase I forgot and I am in a race Joy26:: runwait, D:\Prime\Programs\nircmd-x64\nircmd.exe changeappvolume focused -0.1 return Joy28:: runwait, D:\Prime\Programs\nircmd-x64\nircmd.exe changeappvolume focused 0.1 return Jov27:: runwait, D:\Prime\Programs\nircmd-x64\nircmd.exe exec hide "C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe"
I am using AutoHotKey V2 for a random car selector script. The game seems to ignore all inputs from the script. How did you get around that?
I only can manipulate values that have a key assigned in the game, I use those keys in my scripts.for me there was nothing to work around, it just works (for me)
I know it wont be applicable to everyone. but if anyone happens to have a stream deck. There is an audio mixer plugin - that allows you to change the volume mix of all open applications on the fly. (AMS2 / Discord / Windows etc)