Macro for Ambient Sound

I am looking for a way to mute Sound Effect (essentially the CTRL-S) but enable Ambient sound and then another Macro to put the sound back to normal.

Is that possible?

/run if GetCVar("Sound_EnableSFX") == "0" then SetCVar("Sound_EnableSFX", 1) ActionStatus:DisplayMessage(SOUND_EFFECTS_ENABLED) else SetCVar("Sound_EnableSFX", 0) ActionStatus:DisplayMessage(SOUND_EFFECTS_DISABLED)end

It won’t reflect in the Settings frame.