Skip to content
Advertisement

Tag: desktop

Python: how to get Windows desktop background color

Context: on my office PC there is apllied corporate policy -> standard company picture on desktop wallpaper. Picture is too bright; I switch it off to more dark backgroubd color, do it by manually running the script several times per day. Aim: automate this operation with Python once per some time check some desktop background pixel if it color is

desktop notifications in service

I wrote a python program that get messages from server and invokes windows notification. I turned the program into a one file executable using pyinstaller, the program works perfect when running as an app. when I turned it into a service on windows 10 using nssm.exe, the service still works well(listen & response to the server) but the notifications do

Advertisement