PDF Viewer plugin for TC 64-bit in 2021?
Moderators: Hacker, petermad, Stefan2, white
Re: PDF Viewer plugin for TC 64-bit in 2021?
I checked. Yes, the -appdata option also works for the portable version of SumatraPDF. But the name SumatraPDF-settings.txt cannot be changed, only the directory. What parameters do you want to change? Only the presence of tabs?
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
Re: PDF Viewer plugin for TC 64-bit in 2021?
Being able to change the directory would be enough to support multiple settings files. Like for example, that's what i am currently thinking of how to resolve this:AkulaBig wrote: 2023-12-28, 12:48 UTC But the name SumatraPDF-settings.txt cannot be changed, only the directory.
- %localappdata%\SumatraPDF\SumatraPDF-settings.txt
default location used by the stand-alone SumatraPDF viewer
- %localappdata%\SumatraPDF\TCSumatraPDF\SumatraPDF-settings.txt
for the SumatraPDF instances used in TC, passing the directory path "%localappdata%\SumatraPDF\TCSumatraPDF" as -appdata commandline argument (either taken from the plug-in's ini file and passed to the SumatraPDF instanced started by the plug-in, or with the help of a proxy .exe i could slap together as mentioned earlier; the latter of which i am not yet 100% certain will work nicely if the plug-in inspects the process it started for object/gui handles or id's or some such)
For now, the tab setting is the one thing i am concerned with regarding my situation. (If the plug-in would manage this somehow then there would be no need for me anymore to employ multiple settings files.)What parameters do you want to change? Only the presence of tabs?
Re: PDF Viewer plugin for TC 64-bit in 2021?
When I have time, I may consider using several settings files. I did this for AkelPad. But there, using settings files, you can completely change the appearance and functionality of the program. For SumatraPDF the need for this is not so obvious. But I agree about the tabs. Many people use them. Of course it's not very convenient
that it is not the file name that needs to be changed, but the directory name, but these are nuances.
that it is not the file name that needs to be changed, but the directory name, but these are nuances.
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
Re: PDF Viewer plugin for TC 64-bit in 2021?
Thanks for looking into it! But don't worry if you don't find the time or motivation to do it.AkulaBig wrote: 2023-12-28, 13:44 UTC When I have time, I may consider using several settings files.
The help and feedback you provided is most appreciated, not to forget creating and maintaining the plug-in itself. So again, regardless of how you decide, thanks a lot!
Re: PDF Viewer plugin for TC 64-bit in 2021?
TCSumatraPDF Version 1.7:
+ new options have been added to the plugin configuration file sumatrapdf.ini
DirIniL=, DirIniQ=. Now you can configure your own file for each viewing mode
SumatraPDF-settings.txt.
* internal changes.
+ new options have been added to the plugin configuration file sumatrapdf.ini
DirIniL=, DirIniQ=. Now you can configure your own file for each viewing mode
SumatraPDF-settings.txt.
* internal changes.
Re: PDF Viewer plugin for TC 64-bit in 2021?
Thank you for another fine update, AkulaBig. 
For everybody's convenience, here's the direct download link.
And the plugin's home page on totalcmd.net.
EDIT: fixed typo

For everybody's convenience, here's the direct download link.
And the plugin's home page on totalcmd.net.
EDIT: fixed typo
Last edited by deus-ex on 2023-12-30, 12:50 UTC, edited 1 time in total.
Re: PDF Viewer plugin for TC 64-bit in 2021?
Enjoy it for your health. I hope the new option will be useful.
Re: PDF Viewer plugin for TC 64-bit in 2021?
Thanks a lot for the new options.
For me, it fixes the problem with different Windows sizes and positions.
- Associated PDF viewer in double click.
- Lister (F3) viewer
- Quick View
Previously, after using Quick View, the next double click invocation always started SumatraPDF in full screen.
For me, it fixes the problem with different Windows sizes and positions.
- Associated PDF viewer in double click.
- Lister (F3) viewer
- Quick View
Previously, after using Quick View, the next double click invocation always started SumatraPDF in full screen.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: PDF Viewer plugin for TC 64-bit in 2021?
Yes. After using my plugins, programs run in a maximized manner.
Re: PDF Viewer plugin for TC 64-bit in 2021?
Now, no longerAkulaBig wrote: 2023-12-30, 13:31 UTC Yes. After using my plugins, programs run in a maximized manner.

Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: PDF Viewer plugin for TC 64-bit in 2021?
Hmm if I run SumatraPDF-3.5.2-64.exe after it has been used by the plugin in Lister, then the SumatraPDF-3.5.2-64.exe is still being maximized.Now, no longe
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: PDF Viewer plugin for TC 64-bit in 2021?
So, use separate configuration files for the plugin. Then for normal opening, configure the configuration file separately.petermad wrote: 2023-12-30, 15:41 UTCHmm if I run SumatraPDF-3.5.2-64.exe after it has been used by the plugin in Lister, then the SumatraPDF-3.5.2-64.exe is still being maximized.Now, no longe
Re: PDF Viewer plugin for TC 64-bit in 2021?
I use the x64 portable SumatraPDF 3.6.15927petermad wrote: 2023-12-30, 15:41 UTCHmm if I run SumatraPDF-3.5.2-64.exe after it has been used by the plugin in Lister, then the SumatraPDF-3.5.2-64.exe is still being maximized.Now, no longe
and the TCSumatraPDF Ini File options to set the settings dir for Lister and Quick View mode.
Code: Select all
[Options]
path64=C:\Tools\SumatraPDF\SumatraPDF.exe
path=C:\Tools\SumatraPDF\SumatraPDF.exe
DirIniL=%COMMANDER_PATH%\Plugins\TCSumatraPDF\Ini-L\
DirIniQ=%COMMANDER_PATH%\Plugins\TCSumatraPDF\Ini-Q\
1. In C:\Tools\\SumatraPDF\
2. In C:\Tools\Wincmd\PLUGINS\TCSumatraPDF\Ini-L\
3. In C:\Tools\Wincmd\PLUGINS\TCSumatraPDF\Ini-Q\
Whatever I set in any of these modes will not be changed using any of the other options.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: PDF Viewer plugin for TC 64-bit in 2021?
2Horst.Epp
Thanks - it worked after i manually put a copy of SumatraPDF-settings.txt in the DirIniL and DirIniQ folders.
Thanks - it worked after i manually put a copy of SumatraPDF-settings.txt in the DirIniL and DirIniQ folders.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: PDF Viewer plugin for TC 64-bit in 2021?
Yes, only the paths to the configuration files are written in sumatrapdf.ini. You must manually place these files into folders. If you specified paths in sumatrapdf.ini, but did not place the files in folders, an error message will appear.