Display: Scale detection?

4D has command to detect Screen Width, Height, Depth and Coordinates.

How about the user’s “Scale and layout” (as stated in windows 10) settings?

In windows 10: 125% is the recommended. I want to know that the user has selected.

I have thought about this question a while ago, but never reached a definitive conclusion…

c.f.

https://github.com/miyako/4d-plugin-get-dpi-v2

https://github.com/miyako/4d-plugin-dpi-util

https://github.com/miyako/4d-plugin-get-dpi