Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to make some command line options (-invert-colors) permanent in my SumatraPDF installation. Is there a configuration (eg. an ini) file I can make SumatraPDF to use?

The manual mentions two settings that are saved persistently into %appdata%\SumatraPDF\sumatrapdfprefs.dat but I can't recognize the format and it doesn't list -invert-colors, so I'm not sure if it's intended to use it as such.

Is this file documented somewhere?

I've checked the installation directory and in HKLM in regedit but found nothing relevant.

share|improve this question
1  
The DAT file can be opened in any text editor, but I think the problem is that only those 2 options are meant to be persisted. I suggest you post in the forum or use their bug tracker. –  Karan Jan 10 '13 at 20:42
add comment

1 Answer 1

up vote 1 down vote accepted

modify the key (default) located in the registry here

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\SumatraPDF.exe\Shell\Open\Command

by default it is like this

"C:\Program Files\SumatraPDF\SumatraPDF.exe" "%1" %*

add -invert-colors and sumatrapdf will always start colors inverted

:)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.