Skip to content

A script for changing the GoXLR profile at startup on Windows.

License

Notifications You must be signed in to change notification settings

EdenCrow/GoXLR-Profile-Change-on-Startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

GoXLR Profile Change on Startup

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!

Requirements

Installation

  1. Download the GoXLRStartup.ahk script from this repository

  2. Edit the script and make sure the startupProfile matches the name of your chosen profile in the GoXLR app

  3. 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)
  4. 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

  5. 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.

Why?

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.

How?

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.

Licence

This project is licensed under the MIT license.

About

A script for changing the GoXLR profile at startup on Windows.

Topics

Resources

License

Stars

Watchers

Forks