Jump to content
Corsair Community

Run VBScript?


Validus
 Share

Recommended Posts

Is it possible to run scripts with the iCUE Nexus?

 

I would like to toggle the Windows HDR on and off.

 

A vbs script such as:

 

Set oShell = CreateObject("WScript.Shell")

 

oShell.Run("""ms-settings:display""")

 

WScript.Sleep 2000

 

oShell.AppActivate "settings"

 

WScript.Sleep 100

 

oShell.SendKeys "{TAB}"

 

WScript.Sleep 60

 

oShell.SendKeys "{TAB}"

 

WScript.Sleep 60

 

oShell.SendKeys " "

 

WScript.Sleep 3000

 

oShell.SendKeys "{TAB}"

 

WScript.Sleep 50

 

oShell.SendKeys " "

 

WScript.Sleep 50

 

oShell.SendKeys "%{F4}"

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
 Share

×
×
  • Create New...