A script for changing the GoXLR profile at startup on Windows.
Avoid having to select your default profile on boot after setting the device to sleep!
-
A GoXLR 'Default' profile (to be chosen when your PC is turned on)
-
Download the
GoXLRStartup.ahk
script from this repository -
Edit the script and make sure the
startupProfile
matches the name of your chosen profile in the GoXLR app -
Also make sure that the paths under
File locations
match the location of the GoXLR:- App (
GoXLR App.exe
) - Control Panel (
GoXLRAudioCplApp.exe
) - Settings (
GoXLR.settings
)
- App (
-
Delete the shortcuts to the GoXLR app and control panel from the
Startup
folder, which can usually be found at:C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
-
In the
Task Scheduler
program, create a new task that runs the script at log in (optionally with a 30 second delay so that the GoXLR app can connect to the Stream Deck app if you are using one)
The script should now run the next time you boot your system and start the GoXLR device with the requested profile.
The GoXLR is a fantastic audio interface built for streamers. However, its bright lights can be an eyesore and a power drain when your PC is shut down.
To combat this I use my Stream Deck with a multi-action switch for selecting the 'Sleep' profile and turning off my machine. This profile turns off the lights and sets the faders to 0.
However, upon starting the PC again the device will still be in this 'Sleep' profile. The user will then have to select a non-'sleep' profile every time they boot their machine.
So as to avoid this (admittedly small) chore, this AutoHotKey script will instead boot the GoXLR straight into a user's chosen profile.
Upon starting the GoXLR app, the program looks for the last known profile used. This value is stored in the GoXLR.settings
file in %AppData%
, under lastLoadedProfile
.
This script opens that file and uses regular expressions to find the lastLoadedProfile
value and changes it to the startupProfile
requested.
In order to make sure the file is changed before the GoXLR app starts, the applications are removed from the normal Startup
folder. Instead, they are run directly from the script after the settings file has been modified.
This project is licensed under the MIT license.