Running Command Lines Automatically Via Settings

I want Sumatra to run the command line, “-invert-colors,” every single time I open it. Modifying the shortcut isn’t sufficient, as, when I chose to open files using Sumatra, it runs without the command line. I would rather not deal with registry values. I would assume there would be a way to force this command line to run every time by modifying the advanced settings text tile, but I have not discovered this method.

Thank you.

You can try flipping (or adjusting as per your needs) all the TextColor and BackgroundColor values in the settings file. Short of editing the registry to add -invert-colors to the default command line, this is the best you can do.

1 Like