imniko / SetDPI

The Unlicense
386 stars 45 forks source link

Toggling SetDPI #23

Open BYTEMEE1 opened 1 month ago

BYTEMEE1 commented 1 month ago

I want to scrip SetDPI.exe so that it will toggle the Windows dpi settings, Is there some registry flag the program creates so that I could say "if reg value=100" then toggle to 125? Also are custom dpis (which are available in the windows dialog settings) not available with this app? Nothing happens when I, for example, put 120 or 115 dpi.

mzso commented 4 weeks ago

AFAIK you just specify DPI and it sets it. I alternate between 225% and 150%. I didn't try other values.

If you want to check the current DPI you probably need to do it on your own using the syntax of wherever you pass these commands (e.g.: CMD or powershell). Return the DPI value with setDPI or another tool if there's any, then set what you want to set.