[Python] Script to change TranslucentTB options #594
Spiritreader
started this conversation in
Custom scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is this?
With this custom script you can change any setting in the TranslucentTB settings json file.
What are the requirements?
py
orpython
in your path variablesHow do I configure this?
You can find the location of the config file here to check the available variables:
%localappdata%\Packages\28017CharlesMilette.TranslucentTB_v826wp6bftszj\RoamingState\settings.json
You can then modify the config by accessing its dictionary like this:
Script
Save as
change_translucenttb.py
or whatever you prefer.How to debug
The script writes its state and any exceptions to stdout, which is picked up by Auto Dark Mode in the
service.log
fileHow should I set this up in the ADM scripts file?
Example ADM scripts configuration:
Change the
{YOUR_PATH_TO_THE_SCRIPT}
placeholder to the location where your script resides at.That's it.
You can find more info on how to configure ADM scripts here:
https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/wiki/How-to-add-custom-scripts
Disclaimer
Beta Was this translation helpful? Give feedback.
All reactions