The follwing simple btm file displays the problem.
@echo off
echo %_ypixels
quit
Let we say, the screen resolution is 1920 x 1080. On excution, the batch will display: 1080
Now, on windows 10, click right on screen and select "Display setting". Under "Scale and Layout", Change te size to 125%
Again execute the simple script. Now it will display 864 (1080/125*100) as expected.
But now runt the script in the debugger. It will display the wrong value 1080!
In other words, TCC correctly sees the scaling, but the debugger does not. No problem once you know what happens. But many laptops are set to 125% by default.
GRTNX
Ruud Uphoff
@echo off
echo %_ypixels
quit
Let we say, the screen resolution is 1920 x 1080. On excution, the batch will display: 1080
Now, on windows 10, click right on screen and select "Display setting". Under "Scale and Layout", Change te size to 125%
Again execute the simple script. Now it will display 864 (1080/125*100) as expected.
But now runt the script in the debugger. It will display the wrong value 1080!
In other words, TCC correctly sees the scaling, but the debugger does not. No problem once you know what happens. But many laptops are set to 125% by default.
GRTNX
Ruud Uphoff