Jump to content
Corsair Community

Execute Custom Scripts on Nexus/Keyboards


MarcusPilk

Recommended Posts

Hi all, I got myself a Nexus last year and have been disappointed with the development so far. Been looking at ways to customise it a bit more and have come up with this solution in the meantime.

*Scenario* So I have 2 Audio outputs, Sound Bar and Headset. I notice I switch between them both quite a lot and wanted an easy accessible way of changing the output on the fly.

Looked online and found I could create a pretty simple PowerShell script utilising an external module (can link it if people want it). Tested it, worked perfectly and moved onto the next issue. (Attached Script to help others)

Anyway, created a desktop shortcut that allows me to double click and run the script and thought that maybe the "Launch App" option would work if I used it but it didn't. Had a look round and found a VSCode plugin that allows you to package a .ps1 script into an .exe file. Did this and set the macro to launch the .exe file and it worked! Can't wait to start utilising more custom scripts on the Nexus and hope they introduce a much better way of doing this in the future.

I assume this can also be used on any other iCUE "Launch a program" assignments too.

 

 

Screenshot_20221123_153636.png

Screenshot_20221123_153858.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...