Thank you so much a11599. That is exactly what I needed. Works perfectly. Rep point for you. Yes, the purpose is to manually change refresh rate quickly without the need for a program to call it up. Created 2 batch files; 1 for 60Hz, 1 for 24Hz.
My use is very specific and may apply for others. I'm sure some users have the same problem, they just don't know they do:
I use 1 PC and 1 panel for everything, an all in one box. HTPC Kodi, server, video editing, everyday computing, etc.
Although many dislike SOE (Soap Opera Effect aka Motion Rate) I happen to embrace it. I suspect those that dislike it fought the introduction of color TV , preferring B/W. Seems they also prefer vinyl to CD's, and stereo to 5.1 as well. To each his own...
Since I use an all in one box, I stream online video such as youtube/flashplayer outside of Kodi although Kodi has this built in. At 60Hz the video renders vanilla. At 24Hz SOE activates and the magic begins. Unfortunately, flashplayer, Windows, streaming sites or my panel do not automate the rate switch so it must be switched manually within Windows.
It would be wonderful to just leave the desktop at 24Hz but that creates unusable mouse/keyboard lag since large panels have slow response times, at least my Samsung does.
Furthermore, it gets more interesting using motion rate with 3D. Unless the judder and blur settings are set very low, aspect ratio goes into overscan when the 3D mode of the panel automates full frame packed titles. I prefer the settings higher so I aim to defeat that overscan. These shortcuts will help speed up testing and may be introduced into my present playercodefactory.xml while also enhancing playback outside of Kodi.
Now, I would like to have one batch file that does both switches. Toggle. If I'm in 60Hz, clicking it would switch to 24Hz and if I'm in 24Hz clicking the same batch file would switch to 60Hz.
Anyone know the code for (if 60Hz switch to 24Hz and If 24Hz switch to 60Hz)?
@
echo off
qres.exe /r:24
exit
And add this to the code:
@
echo off
qres.exe /r:60
exit
Currently trying to get this to work where all the files are in the root of C but something is wrong and I can't figure it out:
@
echo off
CD /C %~dp0
if exist %~dp0Anext.txt (
call :A
goto :EOF
)
if exist %~dp0Bnext.txt (
call :B
goto :EOF
)
if not exist %~dp0*next.txt (
call :firstrun
goto :EOF
)
goto :EOF
:A
QRes.exe /r:60
echo AAA
echo B > Bnext.txt
del Anext.txt
goto :EOF
:B
QRes.exe /r:24
echo BBB
echo A > Anext.txt
del Bnext.txt
goto :EOF
:firstrun
QRes.exe /r:60
echo AAA
echo B > Bnext.txt
goto :EOF
Thank you once again for directing me to that .exe. Very pleased.