Automatically switch to dark mode with windows

Forwarded from previous forum:

Lots of apps will automatically synchronize themes with the operating system’s current theme. This article shows you how to schedule a task that switches windows 10 to and from dark mode at a specified time! Now my Supernotes automatically changes to dark mode in the evenings and light in the morning