0

enter image description here

I want to get display setting value on python like:

100% or 125% or 150%

How can I get this set value on python?

1 Answer 1

1

The settings window that you want to access is generally this C:\Windows\System32\DpiScaling.exe executable.

So now you can access this executable by using python. There might be many different ways to do so. In my example I am using the subprocess module.

Code:

import subprocess

def openSettings():
    subprocess.Popen([r"C:\Windows\System32\DpiScaling.exe"])

openSettings()
Sign up to request clarification or add additional context in comments.

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.