Macros to switch between various windowed modes.
-
2016-11-03 on World of Warcraft 7 (Legion)
- 7.1.0
-
2015-10-19 on World of Warcraft 6 (WoD)
- Including 7.0.3 (pre-patch)
Terms ∞
There are three graphics modes which WoW can take.
Windowed ∞
________________ | | | .----------. | | : Windowed : | | '----------' | |________________|
This is like a regular application. It has a top title bar with its buttons, a border around it, and you can see other applications if you have something else running.
Windowed borderless ∞
.----------------. : : : Windowed : : borderless : : : '----------------'
This is like a regular application but it is full screen and overlaps your taskbar. You can alt-tab to quickly change between WoW and another application. This is like the Firefox fullscreen mode when you press F11.
Fullscreen ∞
________________ | | | | | Fullscreen | | | |________________|
This is a special mode where WoW will "take over" as the primary application, showing nothing else; there will be no top title bar or taskbar. This mode allows special screen settings like resolution and gamma. Alt-tab to get to another application will be noticeably slower when WoW is in this mode.
Special fullscreen modes ∞
It's possible to make macros to switch fullscreen resolutions. Examples are 800x600 and 1920x768 (1080p).
Such a macro would be useful for people who desperately need to improve framerates by reducing fullscreen resolution for, say, raiding. I didn't explore this kind of macro.
Windowed / Windowed borderless ∞
________________ | | | .----------. | | : Windowed : | | '----------' | |________________| .----------------. : : : Windowed : : borderless : : : '----------------'
/run local __ = GetCVar( 'gxMaximize' ); SetCVar( 'gxMaximize', 1 - __ ); RestartGx()
In case I'm in Fullscreen mode ∞
If you're in fullscreen mode before running the above macro, it will do unexpected things. This macro forces the game out of fullscreen and into windowed mode.
/run local __ = GetCVar( 'gxMaximize' ); SetCVar( 'gxMaximize', 1 - __ ); SetCVar( 'gxWindow', 1 ); RestartGx()
Fullscreen / Windowed ∞
________________ | | | | | Fullscreen | | | |________________| Switching between either.. .----------------. ________________ : : | | : Windowed : OR | .----------. | : borderless : | : Windowed : | : : | '----------' | '----------------' |________________|
Which windowed mode you switch to will depend on what setting you have within World of Warcraft's System > Graphics
swtting, for windowed mode.
/run local __ = GetCVar( 'gxWindow' ); SetCVar( 'gxWindow', 1 - __ ); SetCVar( 'gxMaximize', 0 ); RestartGx()
Fullscreen / Windowed borderless ∞
________________ | | | | | Fullscreen | | | |________________| .----------------. : : : Windowed : : borderless : : : '----------------'
/run local __ = GetCVar( 'gxWindow' ); SetCVar( 'gxWindow', 1 - __ ); SetCVar( 'gxMaximize', 0 ); RestartGx()
Fullscreen / Windowed ∞
________________ | | | | | Fullscreen | | | |________________| ________________ | | | .----------. | | : Windowed : | | '----------' | |________________|
/run local __ = GetCVar( 'gxWindow' ); SetCVar( 'gxWindow', 1 - __ ); SetCVar( 'gxMaximize', 1 ); RestartGx()
Last updated 2016-11-04 at 03:00:46