This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Macro to switch monitors
Post Reply
Return to board index
Post by
Sparksy
Hello,
I m using 2 monitors with 2 accounts at same time, i would like to have macro wich will transfer wow instance from monitor 1 to monitor 2 and reverse. is there any option like this for classic ?
Thanks !
Post by
Nulgar
/run SetCVar("gxMonitor",GetCVar("gxMonitor")=="1" and 2 or 1)
/run RestartGx()
This macro
should
also work in Classic, but for some reason, when I tested it, I couldn't change the monitor ingame without the game crashing, both on the login screen or while on a character, via the menu or with the macro. Only editing the Config.wtf before starting the game worked for me. But if changing the monitor via the menu works for you, then the above macro should also work :)
Post by
Sparksy
Hey m8 thanks for answer!
Sadly it doesnt work, nothing is happening, just the some 0.5 sec freeze.
In config.wtf i cant even find variable for gx monitor or any other that indicates wich monitor is set.
Regarding your problem, game crashes while switching monitors if u have installed some overlays, like temperature of even discord overlay.
Post by
Nulgar
Sadly it doesnt work, nothing is happening, just the some 0.5 sec freeze.
In config.wtf i cant even find variable for gx monitor or any other that indicates wich monitor is set.
Maybe you have to manually set the monitor once for gxMonitor to show up in the config, and the macro to work.
Regarding your problem, game crashes while switching monitors if u have installed some overlays, like temperature of even discord overlay.
Ah yes, quitting Discord fixed my issue - and the macro is working just fine :)
Post by
Sparksy
Oh dont know how but it works now !
Didnt do anything different, just clicked macro few more times :D
Thanks for help! <3
Post by
Gousitu1259
can confirm this does work with Wrath Classic.
also if your looking for a macro to swap the sound. i have come across this. i have a head set, plus 2 monitors, so it will cycle through them.
happy hunting!
/run local c="Sound_OutputDriverIndex"; local n,m=Sound_GameSystem_GetNumOutputDrivers(),GetCVar(c); if tonumber(m)>=n-1 then m=1 else m=m+1 end; print(Sound_GameSystem_GetOutputDriverNameByIndex(m)); SetCVar(c,m); AudioOptionsFrame_AudioRestart()
and this one will toggle music off and on
/run Sound_ToggleMusic();
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.