Quantcast WoWInterface - View Single Post - [Request] Macro Toggle Resolution & Windowed/fullscreen mode.
View Single Post
06-27-11, 03:13 AM   #6
Super Monkey
Verttex's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 297
Originally Posted by Nibelheim View Post
/run local nr = "1366x768"; if GetCVar("gxresolution") == nr then nr = "1440x900" else nr = "1366x768" end; SetCVar("gxresolution", nr); RestartGx();

Could also throw in Maximize modes. Toggle between 1366 windowed and 1440 fullscreen:
/run local nr, nw = "1366x768"; if GetCVar("gxresolution") == nr then nr = "1440x900"; nw = 0; else nr = "1366x768"; nw = 1; end; SetCVar("gxresolution", nr); SetCVar("gxWindow", nw); RestartGx();
Nice job, looks good from here.
  Reply With Quote