Home > Back-end >  Python Source Code to Interact with Windows 10 Color Themes
Python Source Code to Interact with Windows 10 Color Themes

Time:03-24

Based on this issue:

https://superuser.com/questions/1711880/change-window-frame-color-for-regedit-gvim-and-other-windows/1711990#1711990

I've decided to write an applet to interact with Windows 10 (maybe via the Registry?), and modify and show colors and where you are likely to see them. For example, I might display common contrasts like you might see on Title Bars, Highlighted text in the Mail and Calendar app, the weird colors in Process Explorer, etc.

I am looking for packages, other applets, etc., to get started.

Here are a couple specific questions such that I hopefully do not create a question that is too vague or opinion-based:

  1. How does one interact with the Windows Registry in Python? (For example, if I wanted to read/write the Keys in Control Panel...Colors)

  2. What are the registry items that control colors in Windows 10? (I am already aware of the ones in Control Panel, and DWM, but a detailed description of how they are used would be great. For example, AccentColor is apparently "randomly" updated by the OS all the time.)

CodePudding user response:

I don't have deeper insight or a solution but the following links might help:

Python documentation for winreg module: winreg — Windows registry access

Deals with tweaking Windows through registry settings: Are Windows 10 Personalization settings available in Registry?

The Python Package Index (PyPI) is a repository of software for the Python programming language.

  • Related