First, I'd like to give a big thanks to Fef and his original thread which inspired all of this.
It seems a few people have been asking lately about dynamic window swapping macros or which console commands control which video settings. This is an almost complete guide that has been written up to break down and explain each console command for World of Warcraft's video settings. The guide was started somewhere around the beginning of May 2011 and has evolved into what it is today.
Enjoy...
http://www.dual-boxing.com/wiki/inde...Video_Settings
Updated for patch 5.0.4 Mists of Pandaria.