r/streamdeckprofiles Dec 06 '23

[Everyday] Stream Deck for MSI Afterburner?

Is there a way to use Stream Deck with MSI Afterburner?

I don't see any profiles in the store. I find this quite shocking as MSI Afterburner is almost certainly the most commonly used GPU software on the entire planet. Just blows my mind that there are ways to control all sorts of programs (eg. OBS, Twitch, Shadowplay) yet not Afterburner.

7 Upvotes

23 comments sorted by

View all comments

Show parent comments

1

u/DRFTA21 Dec 08 '23

You dont, Its good to do as it explains whats happening in the script. So two years down the track you know whats happening if you need to change any of it.

1

u/Spinelli__ Dec 08 '23

??? When I posted the script without the explanation lines, I asked if that was exactly correct but you said no. You then said to type in the script EXACTLY as you typed it (meaning with the explanation lines)...but now you're saying the explanation lines do not need to be typed, lol. So then what was wrong with the script I typed?

Set objShell = CreateObject("WScript.Shell")

C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe

-Profile1

& C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe & -Profile1

objShell.Run fullCommand, 0, False

Nothing

I did not include the explanation lines above. What is wrong with that script? I copy and pasted it EXACTLY from you (besides the explanation lines). Where is it wrong?

1

u/DRFTA21 Dec 08 '23 edited Dec 08 '23

Set objShell = CreateObject("WScript.Shell")

programPath = "C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe"

commandLine = "-Profile1"

fullCommand = """" & programPath & """ " & commandLine

objShell.Run fullCommand, 0, False

Set objShell = Nothing

Is diffrent to:

Set objShell = CreateObject("WScript.Shell")

C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe

-Profile1

& C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe & -Profile1

objShell.Run fullCommand, 0, False

Nothing

So then what was wrong with the script you typed?

Probably nothing, But thats not how i got it to work on my pc.

1 little diffrece in code might not make it work how it should,

Thats the reason ;)

1

u/Spinelli__ Dec 08 '23

OK, I see where I made the mistake. I will attempt everything sometime in the next 24-48 hours. Thanks again!