Is there a macro that can change gfx settings between lowest/medium or so?

Im thinking of leaving the settings that can not be changed on the fly at minimum and the ones that can be changed without restart of game at a dynamic minimum/medium or max setting when they are the leader toon.

Is this possible?