Ce site requiert JavaScript pour fonctionner.
Veuillez activer JavaScript dans votre navigateur.
Thème Classic
Thème Thottbot
Macro to switch monitors
Répondre
Retourner à l'index
Publication par
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 !
Publication par
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 :)
Publication par
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.
Publication par
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 :)
Publication par
Sparksy
Oh dont know how but it works now !
Didnt do anything different, just clicked macro few more times :D
Thanks for help! <3
Publication par
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();
Répondre
Vous n'êtes pas connecté. Veuillez vous
connecter
pour répondre à ce sujet, ou
vous inscrire
si vous n'avez pas déjà un compte.