TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

First of all, THANK YOU to the author, AkulaBig, for bringing the "TCSumatraPDF Plugin" to my attention!

Unfortunately, starting with this topic, there were off-topic posts in the "TC IrfanView Plugin" post
regarding "TCSumatraPDF Plugin + SumatraPDF". Because of this, I am opening a new topic
here to separate the topics.

TEST RESULTS and comments on this topic - without claiming to be complete.
- This post is also available in German language.
- It is advisable to copy texts and view them in a text editor.

In addition, these PICTURES with explanations are available:
[If necessary, use the context menu: "Open image in new tab", zoom with Ctrl+rotate mouse wheel].

  1. TCSumatraPDF Plugin 1.3 - ToDo, settings, installation variants, filing structure
    1. Option: Check if this setting is present in file "wincmd.ini" in the [Configuration] section:
      Pluginbasedir=%COMMANDER_PATH%\Plugins
       
    2. Attention: If the TCSumatraPDF plugin has already been installed, the following is recommended...
      1. Create a BACKUP of the folder "%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\" (e.g. C:\totalcmd\Plugins\wlx\TCSumatraPDF\).
        (My own settings for SumatraPDF are here: %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt)
        %COMMANDER_PATH% is the location, i.e. folder, in which the files "TOTALCMD.EXE" and/or "TOTALCMD64.EXE" are located.
         
        With a Upgrade, e.g. from wlx_TCSumatraPDF_1.3 to wlx_TCSumatraPDF_1.4, these files are currently overwritten(!):
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
         
        It is therefore advisable to create the following BACKUP files in this folder:
        C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-3.4.6-32.exe            -> for renaming to SumatraPDF.exe
        C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings_BACKUP.txt -> for renaming to SumatraPDF-settings.txt
         
      2. A BACKUP of the line "#_detect="MULTIMEDIA & (EXT="AI"|..." which is in the file "wincmd.ini" in section
        "[ListerPlugins]" located below the line "#=%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx".
        # = digit, i.e. it is the position where the TCSumatraPDF plugin is located under Configure > Lister plugins (.WLX).
        Plugin order counting starts at 0 (zero) and processing of the plugins is done by Total Commander
        from TOP (e.g. 0 ... %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx) to BOTTOM.
        This gives you the option of restoring your own settings later if necessary
        (or just to compare with the new file types from an upgrade installation).
        (Although this point is more relevant for the "TC IrfanView Plugin" (because of many file types), I would like to mention it anyway).
       
    3. Download file "wlx_TCSumatraPDF_1.3.7z"
      - Option1: Location %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\Downloads\wlx_TCSumatraPDF_1.3.7z
      - Option2: Additionally create: %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\Downloads\TCSumatraPDF.url
      - Option3: Additionally create: %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\Downloads\SumatraPDF.url
       
    4. Option: Determine the installation location for this plugin in advance.
      Note: Usually it is NOT necessary to change the installation location, but there are exceptions to those
      changing the installation location is recommended. This is e.g. the case if there are two plugins/plugin versions
      where e.g. the file "pluginst.inf" [plugininstall] has the same name, e.g. file=IrfanView.wlx, File=Imagine.wlx.
      One can easily overwrite a plugin installation at first unnoticed.
      <OffTopic> With the TC IrfanView plugins the risk will be not so large, since one will decide as a rule
      for a Plugin version (rather for test purposes interesting) </OffTopic>.
      1. Position the cursor on the "wlx_TCSumatraPDF_1.3.7z" file, then hold the Ctrl key and press the Page Down key
        Now you get an insight into the .7z archive.
      2. Position the cursor on the "pluginst.inf" file, then press Ctrl+Q 'Quick View Panel'.
        The installation location is now: defaultdir=Plugins\wlx\TCSumatraPDF, i.e. the installation takes place here:
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\ (Example: C:\totalcmd\Plugins\wlx\TCSumatraPDF\).
      3. Press Ctrl+Q 'Quick View Panel' to exit the preview
      4. Then press the back button to close the .7z archive again.
      5. Then a Total Commander restart is required, eg with command CM_EXIT 1, so after double-clicking
        on the file "wlx_TCSumatraPDF_1.3.7z" in Total Commander(!) the plugin installation can be started.
        (There is another variant that serves the same purpose).
        Note: As a rule and if NOT previously viewed in the file "wlx_TCSumatraPDF_1.3.7z" a Total Commander restart is NOT necessary!
    5. Double click on the file "wlx_TCSumatraPDF_1.3.7z" in Total Commander(!) starts the plugin installation.
      Then follow the instructions...
      In my opinion, it is usually advisable to request an "overwrite confirmation": "▢ Confirm overwrite".
      1. The plugin is then added as the last plugin under Configuration in the Lister plugins (.WLX):
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
        Attention: At this point, the TCSumatraPDF plugin be available under Configure > Lister Plugins (.WLX)
        should NOT yet moved up! Note: The plugins are processed from top to bottom.
        If this is desired, then only at a later date (this is described below...).
      2. BEFORE calling the TCSumatraPDF plugin, eg Ctrl+Q - quick view or F3: Lister one should start with the required setup...
    6. TCSumatraPDF Plugin setup
      • (1) Renaming the "SumatraPDF" folder
        FROM: %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\
        TO: %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\
        so that the original installation files from the author are preserved.
         
        • (2) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF.exe 2 644 480 10/31/2015 21:07
          This is version 3.1.1.10417z pre-release, which I have discussed in more detail here:
          "Feedback on forum posts by AkulaBig and Horst.Epp"
        • (3) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF-settings.txt
          This is the settings file for this file - see point (2):
          %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF.exe
        In this case the file "C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF.exe"
        still serve a specific purpose described by the author of the plugin.
        (Otherwise, however, this file is already very outdated and should no longer be used).
         
      • (4) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe
        https://www.sumatrapdfreader.org/download-free-pdf-viewer
        The most recent file of SumatraPDF, currently "SumatraPDF-3.4.6-32.exe" has been copied to the "SumatraPDF" folder
        and renamed to "SumatraPDF.exe". This makes it possible to ALWAYS use the latest SumatraPDF application (.exe)!
        Note: The version no. can be seen in the tool tip.
         
      • (5) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe
        The most recent file of SumatraPDF, currently "SumatraPDF-3.4.6-64.exe" has been copied to the "SumatraPDF" folder
        and renamed to "SumatraPDF64.exe".
        Note: The version no. can be seen in the tooltip.
         
      • (6) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
        The OWN settings for the renamed files SumatraPDF.exe and SumatraPDF64.exe are saved in this file.
        (If you have used 'sLister Plugin + SumatraPDF', you can use these settings also in 'TCSumatraPDF Plugin + SumatraPDF'
        [and vice versa]).
      • Code: Select all

        Examples ........................:	https://www.sumatrapdfreader.org/settings/settings3-4-6.html
        - DefaultDisplayMode = single page ..	; ... or DefaultDisplayMode = automatic or DefaultDisplayMode = continuous
        - EscToExit = true ..................	; The "SumatraPDF" application (eg SumatraPDF64.exe) can be closed with ESC
        - HideScrollbars = false/true .......	; Show/hide scrollbars
        - ShowToc = true ....................	; > if true, we show table of contents (Bookmarks) sidebar if it's present in the document
        					; > F12 = Show table of contents/bookmarks (on/off) is also possible in the Lister -
        					;   if available!
        
      • (7) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\sumatrapdfcache\
        170e812467f8d86a9dfddab377372323.png    ; A preview image of a viewed PDF file was saved in this file.
                                                                          ; If the preview images are no longer needed, simply delete them from this folder.
         
      • (8) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini ... In this file there is only the section: [Options]
        NO further entry in this file is necessary!
        The TCSumatraPDF plugin gets everything it needs regarding SumatraPDF from this folder:
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\
         
      • (9) Please note the information in these files:
        - %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\Readme.txt
        - %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.sample.ini
       
    7. The TCSumatraPDF plugin SHOULD now be called, eg Ctrl+Q 'Quick View Panel' -> sumatrapdf OR F3: Lister -> Lister (sumatrapdf).
      Reason: In the "wincmd.ini" file, in the [ListerPlugins] section, the line "#_detect="MULTIMEDIA & (EXT="AI"|..." is created
      below the line "#=%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx".
      # = digit, i.e. it is the position where the TCSumatraPDF plugin is located under Configuration > Lister plugins (.WLX).
      Plugin order counting starts at 0 (zero) and processing of the plugins is done by Total Commander
      from TOP (e.g. 0 ... %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx) to BOTTOM.
       
    8. Since the TCSumatraPDF plugin is still in the last place under Configuration > Lister Plugins (.WLX),
      it is advisable to position this further up (keyword "plugin order <from top to bottom>").
      This means, for example, BEFORE other lister plugins that can also display PDF files, such as the TCIrfanView plugin,
      but do not have the same quality for PDF previews as the TCSumatraPDF plugin.
      1. Menu "Configuration" > Options... > Plugins > Lister-Plugins (.WLX) > click on button "Configure" >
        At the bottom left, BEFORE the "Add" button are the buttons ▲ "Arrow up" and ▼ "Arrow down".
        (The arrow keys are currently difficult to visually locate in both normal and dark modes). >
        Position the cursor on the line "%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx MULTIMEDIA &" >
        Position this plugin in the desired position by clicking on the "arrow-up" button several times >
        OK, OK > Restart Total Commander, eg with the command: CM_EXIT 1.
      - OR -
      Select "Define view method by file type..." (this method will overrule the "Plugin order <top to bottom>").
      Example 5 under point 8. explains in detail how this works.
      • Then restart Total Commander
    9. SETUP IS COMPLETE and after Ctrl+Q 'Quick View Panel' -> sumatrapdf OR F3: Lister -> Lister (sumatrapdf)
      a preview of a PDF file should be displayed!
       
    10. Installation variants (WITHOUT required administrative rights, i.e. WITH writing rights)
      1. Total Commander (x64) in C:\totalcmd (portable) | %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\ eg C:\totalcmd\Plugins...
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (= renamed original folder "SumatraPDF")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe (= renamed file "SumatraPDF-3.4.6-64.exe")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini - only section [Options] - otherwise NO entry(!)
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
        Step-by-step instructions: See above...
         
      2. Total Commander (x86) in C:\totalcmd (portable) | %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (= renamed original folder "SumatraPDF")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe (= renamed file "SumatraPDF-3.4.6-32.exe")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini - only section [Options] - otherwise NO entry(!)
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
        Step-by-step instructions: See above...
       
    11. Installation variants (WITH required administrative rights, i.e. WITH REQUIRED write rights)
      1. Total Commander (x64) in C:\Program Files\totalcmd\ | %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (= renamed original folder "SumatraPDF")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe (= renamed file "SumatraPDF-3.4.6-64.exe")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini - only section [Options] - otherwise NO entry(!)
        C:\Users\user\AppData\Local\SumatraPDF\SumatraPDF-settings.txt <= this file may have to be changed!
        C:\Users\user\AppData\Local\SumatraPDF\sumatrapdfcache\*.png
        Lister Plugins: C:\Program Files\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx --- MULTIMEDIA & (EXT="AI"|...)
        C:\Users\user\AppData\Roaming\GHISLER\wincmd.ini
        See also above: Step-by-step instructions...!
         
      2. Total Commander (x86) in c:\Program Files (x86)\totalcmd\ | %COMMANDER_PATH%\totalcmd\Plugins\wlx\TCSumatraPDF\
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (= renamed original folder "SumatraPDF")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe (= renamed file "SumatraPDF-3.4.6-32.exe")
        %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini - only section [Options] - otherwise NO entry(!)
        C:\Users\user\AppData\Local\SumatraPDF\SumatraPDF-settings.txt <= this file may have to be changed!
        C:\Users\user\AppData\Local\SumatraPDF\sumatrapdfcache\*.png
        Lister Plugins: C:\Program Files (x86)\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx --- MULTIMEDIA & (EXT="AI"|...)
        C:\Users\user\AppData\Roaming\GHISLER\wincmd.ini
        See also above: Step-by-step instructions...!
    12. Filing structure and explanations

      Code: Select all

      Name/Ext.			      Size (Bytes)	Date			Path (eg C:\totalcmd = %COMMANDER_PATH%)
      ---------------------------------------------------------------------------------------------------------------------------------
      Readme.txt				     2 246	06.06.2023 10:16	C:\totalcmd\Plugins\wlx\TCSumatraPDF\
      Readme_RUS.txt				     2 237	06.06.2023 10:17	C:\totalcmd\Plugins\wlx\TCSumatraPDF\
      sumatrapdf.ini				        11	23.06.2023 01:25	C:\totalcmd\Plugins\wlx\TCSumatraPDF\ (8)
      SumatraPDF.wlx				   103 424	06.06.2023 10:11	C:\totalcmd\Plugins\wlx\TCSumatraPDF\
      SumatraPDF.wlx64			   123 392	06.06.2023 10:11	C:\totalcmd\Plugins\wlx\TCSumatraPDF\
      sumatrapdf.sample.ini			     1 160	05.06.2023 21:11	C:\totalcmd\Plugins\wlx\TCSumatraPDF\
      SumatraPDF.url				       147	26.06.2023 14:11	C:\totalcmd\Plugins\wlx\TCSumatraPDF\Downloads\
      TCSumatraPDF.url			       141	22.06.2023 21:33	C:\totalcmd\Plugins\wlx\TCSumatraPDF\Downloads\
      wlx_TCSumatraPDF_1.3.7z			 2 716 001	22.06.2023 21:18	C:\totalcmd\Plugins\wlx\TCSumatraPDF\Downloads\
      SumatraPDF.exe				12 644 824	08.06.2022 21:25	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\ (4)
      SumatraPDF64.exe			13 605 336	08.06.2022 21:27	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\ (5)
      SumatraPDF-settings.txt			    21 652	24.06.2023 23:10	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\ (6)
      170e812467f8d86a9dfddab377372323.png	     1 744	23.06.2023 22:00	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\sumatrapdfcache\ (5)
      Manual.chm				    14 304	16.03.2020 04:38	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (1)
      readme.txt				       944	05.09.2020 11:43	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (1)
      SumatraPDF.exe				 2 644 480	31.10.2015 21:07	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (2)
      SumatraPDF-settings.txt			     1 739	25.06.2023 14:10	C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\ (3)
      
      Legend::
      
      (1) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\
          The "SumatraPDF" folder has been renamed to "SumatraPDF_OriginalFiles" (backup of original installation files).
          %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\
          The current "SumatraPDF" files including current custom settings were saved in this folder.
      
      (2) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF.exe ... 2 644 480 10/31/2015 21:07
          This is version 3.1.1.10417z pre-release, which I refer to here:
          "Feedback on forum posts by AkulaBig and Horst.Epp".
      
      (3) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF-settings.txt
          This is the settings file for this file - see point (2):
          %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF_OriginalFiles\SumatraPDF.exe
      
      (4) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe
           The "SumatraPDF-3.4.6-32.exe" file was copied to the "SumatraPDF" folder and renamed to "SumatraPDF.exe".
           Note: The version no. can be seen in the tooltip.
      
      (5) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe
           The "SumatraPDF-3.4.6-64.exe" file was copied to the "SumatraPDF" folder and renamed to "SumatraPDF64.exe".
           Note: The version no. can be seen in the tooltip.
      
      (6) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
          The settings for the renamed files SumatraPDF.exe and SumatraPDF64.exe are saved in this file.
          Examples ........................: https://www.sumatrapdfreader.org/settings/settings3-4-6.html
          - DefaultDisplayMode = single page ; ... or DefaultDisplayMode = automatic or DefaultDisplayMode = continuous
          - EscToExit = true ............... ; The "SumatraPDF" application (eg SumatraPDF64.exe) can be closed with ESC
          - HideScrollbars = false/true      ; Show/hide scrollbars
          - ShowToc = true ................. ; > if true, we show table of contents (Bookmarks) sidebar if it's present in the document
      				       ; > F12 = Show table of contents/bookmarks (on/off) is also possible in the lister - if available!
      
      (7) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\sumatrapdfcache\
          170e812467f8d86a9dfddab377372323.png ; A preview image of a viewed PDF file was saved in this file.
          					 ; If the preview images are no longer needed, simply delete them from this folder.
      
      (8) %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini ... In this file there is only the section: [Options]
          NO further entry in this file is necessary!
          The TCSumatraPDF plugin gets everything it needs regarding SumatraPDF from this folder:
          %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\
      
  2. Rules for processing plugins in Total Commander (without claim to completeness)
    1. "Define view method by file type..." is run first, BEFORE Lister plugins (.WLX) -
      Order (processing of the plugins from top to bottom: see point 8., example 5).
      The big advantage here is that I can set a file type for which a specific lister plugin should show the preview -> see: Picture-2.

      Examples:
      1. PDF: TCSumatraPDF Plugin + SumatraPDF. I could use a total of 6 lister plugins for previewing PDF files,
        However, I choose this plugin for various reasons.
      2. JPG: I have several lister plugins available for previewing JPG files, but I choose this plugin
        because this plugin, apart from a very good preview, additionally for a large number of file extensions
        (e.g. due to IrfanView plugins) offers a preview.
      A detailed description of "Define view method by file type..." can be found in example 5 under point 8.
       
      If in "Lister: View methods by file type" for a file extension,
      e.g. *.pdf [by mistake] several Lister plugins have been defined,
      e.g. *.pdf SumatraPDF.wlx ... and ... slister.wlx64 then the principle
      "First come, first serve" applies, i.e. the plugin which is first
      in the plugin processing from top to bottom is executed -> see: Picture-3.
       
    2. If there is NO definition for a file type under "Define view method by file type...",
      then under Configuration > Settings... > Plugins > Lister Plugins (.WLX) > Configure >
      the lister plugins are processed sequentially from TOP to BOTTOM by Total Commander,
      namely after F3: Lister and if you then press the number 4 [several times] -> see: Picture-1.
       
      After running the last plugin below (in last place) and if you keep pressing the number 4,
      then it starts again with the first plugin that can display the preview
      (similar to an endless loop). The Lister window can normally be closed with the ESC key.
       
    3. Note: If you do NOT get a preview for a file extension with Ctrl+Q, then I think it's a good idea to
      press F3: and call up Lister and press the number 4 there [several times] to get a preview with another plugin,
      instead of doing this by pressing Ctrl+Q,Tab, 4 [several times] - (then you have even more options).
  3. Test Scenario, Lister Plugins (.WLX), Plugin Order, Images
    For the plugins listed below, the "TCSumatraPDF Plugin" should be called first after F3: Lister -> Plugin No. 0,
    i.e. "Lister (sumatrapdf)" should be displayed in the title bar of the Lister window before the path including the file name.

    Then you should be able to switch to the next plugin with the number 4 key (press it several times), which in this case is No. 1.
    As a rule, the plugin changes (after pressing the number 4 several times) would be carried out in this order: 1,2,3,4,5,6,0,1...
    But since with Plugin 6 (TC IrfanView 2.59) "IrfanView displays the PDF file!" is executed, after pressing the number 4
    can no longer be switched to plugin 0, i.e. at this point it is finally over with the plugin changes for this PDF file.

    Lister Plugins (.WLX) - Order (on my PC) concerning PDF files.
    The lister plugins below can display PDF files (partly with different quality compared to other lister plugins).
    See also: Picture-1.

    Code: Select all

    0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx	; 1.3   - 32 bit, 64 bit - Lister (sumatrapdf) - F3: Lister
    1 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64		; 1.1.2 - 64 bit         - Lister (slister)    -  4
    2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx		; 1.1.2 - 32 bit         - Lister (slister)    -  4
    3 %COMMANDER_PATH%\Plugins\wlx\ulister\ulister.wlx64		; 8.5.6 - 32 bit, 64 bit - Lister (ulister)    -  4
    4 %COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx   	; 1.8.5 - 32 bit, 64 bit - Lister (irfanview) shows PDF file
    5 %COMMANDER_PATH%\Plugins\wlx\pdfview\pdfview.wlx		; 1.0.9 - 32 bit, 64 bit - Lister (pdfview) Ghostscript required!
    6 %COMMANDER_PATH%\Plugins\wlx\TCIrfanView_2\IrfanView.wlx 	; 2.59  - 32 bit, 64 bit - IrfanView shows the PDF file!
    
    Legend & path to test folder with PDF files

    Code: Select all

    Ctrl+Q 		(toggle = on/off) - View menu > Ctrl+Q 'Quick View Panel'
    Ctrl+Q, ↑↓ 	(Ctrl+Q, Arrow up key, Arrow down key)
    Ctrl+Q,Tab,4 	(press Ctrl+Q, Tab and then number 4 to select the next plugin below the current plugin)
    0,1,2,3,4,5,6 	(press number 4 [several times] -> Lister Plugins (.WLX) - order from top to bottom)
    x ........... 	(OK - the result is fine for me)
    OK .......... 	(OK - the result is fine for me)
    NOK (not OK) 	(the result is incorrect or not as expected).
    Test PDF files folder: %COMMANDER_PATH%\Tools\FoxitReader_portable\App\Foxit Reader\stamps\en-US\Standard Stamps\ *.pdf
    
  4. Example 1: Total Commander 11.00b8 x64 - TCSumatraPDF Plugin 1.3: OK, sLister x64: OK

    Code: Select all

    0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
    1 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64
    ...
    Define view method by file type... ....: NO
    
    F3: Lister (sumatrapdf)
    Ctrl+Q	Ctrl+Q, ↑↓ 	Ctrl+Q,Tab,4	!Result!	F3: Lister ..: 	0 1 2 3 4 5 6	ESC	!Result!	Note (*, **)
    ---------------------------------------------------------------------------------------------------------------------------------
      OK	OK		OK		 OK		Top to bottom:	x x x x x x x	-	 OK		6 ESC in IrfanView
      									x x		OK	 OK		x64: All OK!
    
  5. Example 2: Total Commander 11.00b8 x64 - TCSumatraPDF Plugin 1.3: OK, sLister x64: OK

    Code: Select all

    1 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64	   -> After plugin move: CM_EXIT 1 - Restart Total Commander
    0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
    2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx
    ...
    Define view method by file type... ....: NO
    
    F3: Lister (slister)
    Ctrl+Q	Ctrl+Q, ↑↓ 	Ctrl+Q,Tab,4	!Result!	F3: Lister ..: 	1 0 2 3 4 5 6	ESC	!Result!	Note (*, **)
    ---------------------------------------------------------------------------------------------------------------------------------
      OK	OK		OK		 OK		Top to bottom:	x x x x x x	-	 OK		x64: All OK!
      									x x x		OK	 OK
      									x x		OK	 OK
    
  6. Example 3: Total Commander 11.00b8 x86 - TCSumatraPDF Plugin 1.3: OK, sLister x86: NOK: (not OK)

    Code: Select all

    0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
    1 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64
    3 %COMMANDER_PATH%\Plugins\wlx\ulister\ulister.wlx64
    2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx
    4 %COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx
    ...
    Define view method by file type... ....: NO
    
    F3: Lister (sumatrapdf) ->  At the top of the plugin order!
    Ctrl+Q	Ctrl+Q, ↑↓ 	Ctrl+Q,Tab,4	!Result!	F3: Lister ..: 	0 1 3 2 4    	ESC	!Result!	Note (*, **)
    ---------------------------------------------------------------------------------------------------------------------------------
      OK	OK		* partly ...	  *NOK		Top to bottom:	0 - - 2 **NOK  	**NOK	 **NOK		*, **
    
       * NOK: Ctrl+Q ...... sumatrapdf (in the other TC window), press Tab: Opposite window gets the focus
       	  4 ........... slister (x86) - OK
       	  4 ........... > Expected result: irfanview
       	  4 ........... > Result ........: Pressing the number 4 no longer has any effect.
    
      ** NOK: F3: 0 Lister (sumatrapdf) - OK
              4 (1 slister.wlx64): x64 Not relevant (will be skipped) - OK
              4 (3 ulister.wlx64): x64 Not relevant (will be skipped) - OK
              4 (2 slister.wlx  ): Lister (slister) (x86) ........... - OK (PDF file is displayed)
              4 (4 IrfanView.wlx): > Expected result: Lister (irfanview)
              4 (4 IrfanView.wlx): > Result ........: Pressing the number 4 no longer has any effect.
              4 (4 IrfanView.wlx): > Result ........: The ESC key no longer works at this point.
    
    In this case, in my opinion, the sLister plugin x86 after calling AND then pressing the
    - Number 4 (change to the next plugin)
    - ESC button
    has an erroneous behavior.

    I.e. the preview is still possible after F3: Lister (slister), but after that it is only possible in the Lister window
    to change via the "Plugins" menu and selection of another Lister plugin, which can also display PDF files.
    For example, these lister plugins are available to me: SumatraPDF; uLister; IrfanView;
    pdfview (low image quality and e.g. Ghostscript 9.56.1 required).
    After selecting one of the plugins mentioned, the Lister window can be closed again with the ESC key.

    (The sLister plugin x64 works correctly).
  7. Example 4: Total Commander 11.00b8 x86 - TCSumatraPDF Plugin 1.3: OK, sLister x86: NOK: (not OK)

    Code: Select all

    2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx	32 bit! -> After plugin move: CM_EXIT 1 - Restart Total Commander
    0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
    ...
    Define view method by file type... ....: NO
    
    F3: Lister (slister) -> In the plugin order at the top!
    Ctrl+Q	Ctrl+Q, ↑↓ 	Ctrl+Q,Tab,4	!Result!	F3: Lister ..: 	2 0 - - - - -	ESC	!Result!	Note (*, **)
    ---------------------------------------------------------------------------------------------------------------------------------
      OK	OK		*NOK   		*NOK		Top to bottom**	2 0 (0=**NOK) 	**NOK	 **NOK		*, **
    
       * NOK: Ctrl+Q ...... slister (in the other TC window), press Tab: Opposite window gets the focus
       	  4 ........... > Expected result: sumatrapdf
       	  4 ........... > Result ........: Pressing the number 4 no longer has any effect.
    
      ** NOK: F3: (2 slister.wlx): Lister (slister)    (x86) ............. - OK (PDF file is displayed)
              4 (0 SumatraPDF.wlx): > Expected result: Lister (sumatrapdf)
      	  4 (0 SumatraPDF.wlx): > Result ........: Pressing the number 4 no longer has any effect.
              4 (0 SumatraPDF.wlx): > Result ........: The ESC key no longer works at this point.
    
              In this case, I think the sLister plugin x86 behaves incorrectly.
    
  8. Example 5: Define view method by file type... - Total Commander 11.00b8 (x64, x86)
    See also: Picture-2 - Test

    Configuration > Options... > Edit/View > Configure internal viewer... > Multimedia tab >
    Define view method by file type... > Add.. > *.pdf > OK > "Choose default view modes":
    Click on the '+' (plus sign) > 4 Image/Multimedia > SumatraPDF.wlx > OK > Option: The entry can be moved with pressed
    left mouse button to the desired position, then release the mouse button > OK, OK, OK >
    now restart Total Commander, e.g. with the command: CM_EXIT 1

    - OR -
    F3 Lister > Call up the "Options" menu from Lister(!) > Configure... > Tab "Multimedia" >
    Define view method by file type... > Add.. > *.pdf > OK > ... further procedure as above.

    Code: Select all

    2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx	   -> After plugin move: CM_EXIT 1 - Restart Total Commander
    3 %COMMANDER_PATH%\Plugins\wlx\ulister\ulister.wlx64	   -> ulister x64 will be skipped in TC 11.00b8 x86
    5 %COMMANDER_PATH%\Plugins\wlx\pdfview\pdfview.wlx
    0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
    1 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64	   -> slister x64 will be skipped in TC 11.00b8 x86
    4 %COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx
    
    Define view method by file type... ....: YES (!)
    
    Because of this setting, "0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx" will be executed PREFERRED(!),
    i.e. before plugin 2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx (Lister (slister)).
    Then it continues with the underlying next plugin, which applies. Details see below...

    If this setting (Define view method by file type) had NOT been made, then due to the
    Plugin order (TOP TO BOTTOM) "2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx" (32 bit) would be executed first!

    Code: Select all

    ---------------------------------------------------------------------------------------------------------------------------------
    F3: Lister (sumatrapdf)	- Total Commander (x64) 11.00b8		       | -expected-  |
    ---------------------------------------------------------------------------------------------------------------------------------
    Ctrl+Q	Ctrl+Q, ↑↓ 	Ctrl+Q,Tab,4	!Result!	F3: Lister ..: 	0 1 4 2 3 5 0	ESC	!Result!	Note (*, **)
    ---------------------------------------------------------------------------------------------------------------------------------
      OK    OK		  0 sumatrapdf	   OK		Top to bottom:  0 1 4 2 3 5 0	OK	 OK		x64: All OK!
    (sumatrapdf)		4 1 slister x64	   OK						OK
    			4 4 irfanview	   OK						OK
    			4 2 slister x86	   OK						OK
    			4 3 ulister x64    OK						OK
    			4 5 pdfview        OK						OK
    			4 0 sumatrapdf     OK						OK
    			4 1 slister x64    OK						OK
    			4 4 irfanview      OK						OK
    			... etc. (Loop) ...
    
    

    Code: Select all

    ---------------------------------------------------------------------------------------------------------------------------------
    F3: Lister (sumatrapdf)	- Total Commander (x86) 11.00b8		       | -expected-  |
    ---------------------------------------------------------------------------------------------------------------------------------
    Ctrl+Q	Ctrl+Q, ↑↓ 	Ctrl+Q,Tab,4	!Result!	F3: Lister ..: 	0 4 2 5 0 4 2	ESC	!Result!	Note (*, **)
    ---------------------------------------------------------------------------------------------------------------------------------
      OK	OK		*NOK   	   	 *NOK		Top to bottom:	0 4 2 -	- - -	. 	 **NOK		x86: NOK
    (sumatrapdf)							       | OK  | *NOK  |  .			sLister: Digit 4
    											.
    			  0 sumatrapdf ................................................ OK
    			4 4 irfanview ................................................. OK
    			4 2 slister x86 ............................................... **NOK
    
       * NOK: Ctrl+Q .....:   0 sumatrapdf (in the other TC window) - OK
              Tab key ....:     Opposite window gets the focus .... - OK
              4		  4 irfanview      OK, since the next plugin in the sequence is "slister.wlx64" which is skipped at TC x86
              				       Below then comes "IrfanView.wlx" and that's right!
    	  4	 	  2 slister x86    OK  (Due to the plugin order, it continues with first plugin (above)).
    	  4		  NO more reaction after entering the Digit 4! I.e. "pdfview" can no longer be called -
    	  		  		       "ulister x64" would be skipped since TC x86 is used.
    
      ** NOK:		  After F3 (0 sumatrapdf), 4 (4 irfanview), 4 (2 slister x86) the ESC key can no longer be pressed!
    
    In this case, in my opinion, the sLister plugin x86 has after calling AND then pressing
    - Digit 4 (change to next plugin)
    - ESC key
    a faulty behavior.

    I.e. the preview is still possible after F3: Lister (slister), but after that it is only possible in the Lister window
    to change via the "Plugins" menu and selection of another Lister plugin, which can also display PDF files.
    For example, these lister plugins are available to me: SumatraPDF; uLister; IrfanView;
    pdfview (low image quality and e.g. Ghostscript 9.56.1 required).
    After selecting one of the plugins mentioned, the Lister window can be closed again with the ESC key.

    (The sLister plugin x64 works without errors).
  9. Example 6: Show bookmarks in PDF files, if any exist (ShowToc = true)
    %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt -> Parameter: ShowToc = true required.

    Code: Select all

    ---------------------------------------------------------------------------------------------------------------------------------
    			SumatraPDF.exe | SumatraPDF64.exe | TCSumatraPDF Plugin 1.3 | sLister 1.1.2 x86 | sLister 1.1.2 x64
    ---------------------------------------------------------------------------------------------------------------------------------
    Total Commander x64		-		x	    Ctrl+Q; F3:  OK	             -		  Ctrl+Q; F3:  NOK*
    Total Commander x86		x		-	    Ctrl+Q; F3:  OK	      Ctrl+Q; F3:  NOK*		 -
    ---------------------------------------------------------------------------------------------------------------------------------
    
    NOK*
    sLister 1.1.2 x86 and x64 do not work reliably here at all, in contrast to TCSumatraPDF Plugin 1.3.(!).

    Code: Select all

    !----------------------------------------------------------------------------------------------------------------------!
    ! PDF files: WITH Bookmarks | WITHOUT Bookmarks | TCSumatraPDF Plugin 1.3  | sLister 1.1.2 x86  | sLister 1.1.2 x64    !
    !                 69        |         1	    	| recognized:  69  (100%)  | recognized: 5 (7%) | recognized: 5 (7%)   !
    !----------------------------------------------------------------------------------------------------------------------!
    One can however with F12 if necessary existing bookmarks afterwards fade in,
    after Ctrl+Q (slister), Tab, F12 (show bookmarks) or after F3: Lister (slister), F12 (show bookmarks).
    After F3: Lister (slister) you cannot close the Lister window with the ESC key at the moment.

    pdfview and IrfanView can display pdf files, but NOT bookmarks in pdf files (if any).
  10. Differences between TCSumatraPDF Plugin 1.3 and sLister 1.1.2 (short description)
    - without claim to completeness -

    sLister 1.1.2 x86 faulty
    Details were described in this post.
    - sLister x86 - error (digit 4, ESC key).
    - sLister x86, x64 - Bookmarks in PDF files are not recognized reliably at all.

    Download files, installation files - file sizes

    1. TCSumatraPDF 1.3

    Code: Select all

         Name/Ext.			Bytes	  	Date			Comment
         wlx_TCSumatraPDF_1.3.7z	2 716 001	22.06.2023 21:18	> Only 1 download file
         -----------------------------------------------------------
         SumatraPDF.wlx	          103 424	06.06.2023 10:11
         SumatraPDF.wlx64	          123 392	06.06.2023 10:11
                                      -------
                                      226 816
                                      =======
    2. sLister 1.1.2

    Code: Select all

         Name/Ext.			Bytes	  	Date			Comment
         wlx32_sLister_1.1.2.zip	1 936 160	13.12.2021 18:34	) 2 separate download files
         wlx64_sLister_1.1.2.zip	1 922 819	22.03.2018 11:24	)
         -----------------------------------------------------------
         slister.wlx	           52 224	20.09.2011 15:17
         slister.wlx64	           59 904	20.09.2011 15:17
         			          -------
         			          112 128
         			          =======
      ******************************************************************************************************
      Installation Files - Diff:      114 688       Bytes uses TCSumatraPDF 1.3 more than sLister 1.1.2.
       			          =======       The download files are larger overall from sLister.
      ******************************************************************************************************
  11. Problems with the TCSumatraPDF Plugin? (Questions and answers)
    1. Error message: "I can't find SumatraPDF.exe, SumatraPDF64.exe it by the path specified in the file sumatrapdf.ini".
      This error message occurs when using TC x86 and in %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\
      the file "SumatraPDF.exe" does not exist.
      Solution: Copy the latest 32-bit version of SumatraPDF, which is currently "SumatraPDF-3.4.6-32.exe" to the
      folder "SumatraPDF" and rename the file to "SumatraPDF.exe".
       
    2. TC x64 and SumatraPDF.exe x86 (without SumatraPDF64.exe): Does NOT work either!
      It requires the latest 64-bit version of SumatraPDF, which is currently "SumatraPDF-3.4.6-64.exe" to copy in the
      "SumatraPDF" folder and rename the file to "SumatraPDF64.exe".

      Therefore both files (SumatraPDF.exe, SumatraPDF64.exe) should be present in this folder!
       
    3. README: Please search these files for troubleshooting information.
      1. "Readme.txt" -> %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\Readme.txt
      2. sumatrapdf.sample.ini -> %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.sample.ini
    4. Bookmarks are NOT displayed in TCSumatraPDF. Why?
      1. It is possible that the PDF file has no bookmarks at all.
        The best way to check this is to call up the PDF file in an application, e.g.
        %COMMANDER_PATH%\Tools\SumatraPDF_Installation\SumatraPDF.exe, etc.
      2. There may be in the own %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt file
        that this entry is not present: ShowToc = true ... so an addition is necessary.
        See: https://www.sumatrapdfreader.org/settings/settings3-4-6.html
      3. The "pdfview" and "IrfanView" plugins currently cannot display bookmarks.
        Note on the "IrfanView" plugin: Navigation is possible with the 4 arrow keys and turning the mouse wheel.
    5. Unexpected result(s) when selecting the plugin or error message due to plugin order
      1. Example: The PDF file is displayed eg with sLister instead of TCSumatraPDF (unexpected result).
        The sLister plugin shows the preview for PDF files, although TCSumatraPDF is BEFORE in the plugin order
        the sLister plugin was ranked.

        Reason: For PDF files, the sLister plugin was defined in "Define view method by file type..." AND
        this setting overrides the plugin order from top to bottom.

        Solution: Delete the entry in "Define view method by file type..." OR change it to the TCSumatraPDF plugin.

        After that, the plugin order applies (from top to bottom), i.e. the plugin that can display PDF files is executed.
        It is therefore important that TCSumatraPDF Plugin is ranked before other plugins,
        which can display PDF files, because otherwise it could be that e.g. the IrfanView plugin,
        which is on top of the TCSumatraPDF plugin displays the PDF file (because it's capable of that too).

        Note: The entry in "Define view method by file type..." overrules the plugin order
        (see pictures: Links can also be found in the link collection at the bottom).
         
      2. Following example for previous point (changing the plugin order leads to a problem):
        %COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx MULTIMEDIA & ext="JPG"|ext=... --> above the plugin --> ...
        %COMMANDER_PATH%\Plugins\wlx\EMLView\EMLView.wlx EXT="EML" | EXT="MSG"
        In this case, this error message appears when you try to preview Outlook .MSG files:
        "IrfanView
        ABC.msg : Can't read file header !
        Unknown file format, empty/damaged file or file not found !"
        Solution: Position the "IrfanView" plugin below the "EMLView" plugin OR set the
        Plugin "EMLView" for the file type .MSG in "Define view method by file type...".
      3. In "Define view method by file type..." for a single file extension, eg *.pdf several lister plugins were defined.
        Solution: Delete *.pdf for the other Lister plugins and leave only one entry, eg for the TCSumatraPDF plugin.
    6. Alt+Shift+F3 to view the file and then ESC to close? This will open Lister without plugins.
       
    7. Are you using the latest version of Total Commander (including beta version, RC = release candidate)?
      The Total Commander version no. can be queried via the "Help" > "About Total Commander..." menu.
      For inquiries in the forum please indicate the following:
      1. TC Version No., 32 bit and/or 64 bit
      2. Settings file(s)
      3. Program file
      Example:
      1. TC 11.00b10 (x64) [64bit]
      2. C:\totalcmd\wincmd.ini; C:\totalcmd\wcx_ftp.ini (if available)
      3. C:\totalcmd\TOTALCMD64.EXE
    8. Are you using the latest version of the TCSumatraPDF Plugin, currently "TCSumatraPDF Plugin 1.4"?
    9. What is the content (exact specification!) of %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\sumatrapdf.ini?
       
    10. TC_clean_fresh.ini - Own settings in the "wincmd.ini" file are NOT modified(!)
      Before you make a forum query or to isolate a problem, you should test with a fresh.ini (any_name.ini).

      Start fresh.ini in the Total Commander command line
      1. In the opened TC window, press the right arrow key to position the cursor on the TC command line.
        [If the TC command line is not displayed, you can also create a corresponding link (.lnk) for this purpose].
      2. Type the following text, then press ENTER:
        %COMMANDER_PATH%\totalcmd.exe /n /i="%temp%\fresh.ini" ........ <<-- Total Commander x86! (32bit)
        or
        %COMMANDER_PATH%\totalcmd64.exe /n /i="%temp%\fresh64.ini" ... <<-- Total Commander x64! (64bit)
        • %COMMANDER_PATH% ... is the location where the "TOTALCMD.EXE" or "TOTALCMD64.EXE" files are located.
          [In the TC command line type the following to go to this location: cd %COMMANDER_PATH% ... then press <ENTER>].
        • F1 - Help - Command line parameters --- Parameters: /n
          Opens in any case a new Total Commander window
          (overrides the settings in the configuration dialog to allow only one copy of Total Commander at a time)
        • F1 - Help - Command line parameters --- Parameters: /i
          /i=name.ini
          Use a different INI file name.ini instead of wincmd.ini to save settings (see also: INI file description).
          totalcmd.exe /i=fresh.ini ... Use fresh.ini instead of wincmd.ini for all settings.
      3. Then type in the following in the TC command line and press the ENTER key: cd %temp%
        The "C:\Users\user\AppData\Local\Temp\" folder is called up and contains the "fresh.ini" file.
      4. IMPORTANT!
        BEFORE each new test execution, it should be checked whether it still makes sense to keep the contents of the "fresh.ini" file
        or whether this file should be deleted BEFORE each new test in order NOT to influence the next test results!
       
    11. Which Windows Version are you using? Windows 11, Windows 10, other Windows version?
      Example: Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.1928)

      The Windows version can be determined as follows:
      1. Press Windows logo key + pause key simultaneously (System -> Info);
      2. msinfo32.exe (System Information) -> enter "msinfo32.exe" without quotes, eg in the TC command line and press the ENTER key.
  12. Link collection
    https://www.sumatrapdfreader.org/download-free-pdf-viewer 1. SumatraPDF 3.4.6 (x64, x86) - Portable (8.6.2022) Free PDF Reader
    https://www.sumatrapdfreader.org/settings/settings3-4-6.html 1.a Customizing SumatraPDF 3.4.6 SumatraPDF-settings.txt 
    https://www.sumatrapdfreader.org/settings3.1.html 1.b Customizing SumatraPDF 3.1 SumatraPDF-settings.txt 
    https://totalcmd.net/plugring/wlx_TCSumatraPDF.html 1.1 TCSumatraPDF Plugin 1.4 - 5.07.2023
    https://totalcmd.net/plugring/slister.html 1.2 sLister Plugin 1.1.2 - 20.09.2011 x64: partly OK; x86: faulty
       
    https://ghisler.ch/board/viewtopic.php?p=392837#p392837 2. uLister (Step-by-step instructions)Language: German 
       
    https://totalcmd.net/plugring/TCIrfanView.html 3. TC IrfanView Plugin 1.8.7  - 29.6.2023  Ctrl+Q; F3: Lister (irfanview)
    https://totalcmd.net/plugring/TCIrfanViewPlugin_2.0.html 4. TC IrfanView Plugin 2.59   -   8.6.2023 Ctrl+Q; F3: opens image in IrfanView
       
    https://www.mp3tag.de/tc.html 5. pdfview.wlx Plugin 1.09 Ghostscript 9.56.1 for Windows (64 bit) - 12.4.2022
    https://www.ghostscript.com/releases/gsdnld.html 6. Ghostscript 10.01.2 (2023-06-21) Ghostscript AGPL Release <= Download 
       
    viewtopic.php?t=79443 7. Overwrite detect line of WLX plugin Discussion/Suggestions
    https://sourceforge.net/projects/tc-plugman/postdownload?source=dlp 8. TC Plugins Manager 2.2.8 - last update: 6.3.2014Compatibility - DPI settings
    https://totalcmd.net/ 9. TOTALCMD.NET
       
    https://www.ghisler.ch/wiki/index.php?title=Navigation#Pseudo_environment_variables 10. Pseudo environment variables %COMMANDER_PATH%, %COMMANDER_INI%, %COMMANDER_EXE%,... 
    https://en.wikipedia.org/wiki/Environment_variable#Default_values 11. Environment variables - Default values  
       
     12. Pictures with explanations:  
    https://ibb.co/nBtTvcN 12.1 Picture-1_TC Lister plugins (.WLX)_DE-EN.png Test: plugin order
    https://ibb.co/Sdp2fsy 12.2 Picture-2_Lister_Define view method by file type.png Test: Define view method by file type...
    https://ibb.co/Pcb9t2C 12.3 Picture-3_TC Lister plugins (.WLX)_Rules_DE-EN.png Live operation: Lister plugins (plugin order)
       
     13. Tools used in the preparation of this post:  
    viewtopic.php?f=2&t=72911 13.1 Tool "Textify" v1.10.3Text extractions (TC settings)
    https://www.faststone.org/FSCaptureDetail.htm 13.2 Tool "FastStone Capture" v10.2Hardcopies + Image Editing
    https://www.emeditor.com/ 13.3 EmEditor Professional v22.4.904 Texts, Outline, Filter


Tested with:
Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.1848) | TC 11.00b8 x64/x86
pdfview.wlx Plugin 1.09 + Ghostscript 9.56.1 for Windows (64 bit) - 12.4.2022 (see Link collection: Point 5., 6.)
TCSumatraPDF Plugin 1.3 - 6.06.2023 | sLister 1.1.2 - 20.09.2011 | SumatraPDF 3.4.6 (x64, x86) - Portable version (8.6.2022)
Last edited by tuska on 2023-11-03, 13:12 UTC, edited 7 times in total.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

Posts of AkulaBig and Horst.Epp
AkulaBig wrote: 2023-06-22, 18:10 UTC I saw what you are discussing in german my other plugin is SumatraPDF. Unfortunately, I will not dare to discuss in German.
Therefore, offtopic here in one post. You do not understand the advantage of my plugin over sLister. I'll explain briefly.
My plugin is again able to work with 32-bit SumatraPDF in both TC bit depths. And at the same time it can close SumatraPDF by ESC.
The original sLister must use Sumatra PDF 32 and SumatraPDF 64 for this. Otherwise, ESC does not work.
Modified sLister slister.wlx 7168 Kb, slister.wlx 64 8704 Kb loses focus in Ctrl+Q .
Because of this, it cannot be used in quick view. And my plugin does not lose focus.
At the same time, sLister of both versions cannot close SumatraPDF versions older than 3.1 using Esc. But my plugin does.
And the SumatraPDF 3.1 that I have included with the plugin has been modified to remove the protection of PDF files.
Although somewhat slow.
Horst.Epp wrote: 2023-06-23, 15:25 UTC
tuska wrote: 2023-06-22, 22:33 UTC If Total Commander 11.00b8 32 bit is started and the lister is called with F3,
then TCSumatraPDF Plugin 1.3 x86 does NOT consider the order of processing the plugins from top to bottom.
I.e. "%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx MULTIMEDIA & (EXT=..." at 2nd position below
"%COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64 ext= ..." 1st position (position 0) moves to the top, i.e. the first position!
The PDF file is displayed with F3 first with Lister (sumatrapdf) instead of Lister (slister)!
After that the window "Lister (slister)" cannot be closed with ESC.
(With TC 11.00b8 x64 "Lister (slister)" comes first and the window can be closed with the ESC key).
This is not a function of any plugin !
A plugin doesn't know anything about other plugins and their order.
TC calls the plugins according to the order you have set
and the Detection strings.
Horst.Epp wrote: 2023-06-23, 20:48 UTC
AkulaBig wrote: 2023-06-23, 18:23 UTC
Horst.Epp wrote: 2023-06-23, 15:25 UTC then TCSumatraPDF Plugin 1.3 x86 does NOT consider the order of processing the plugins from top to bottom.
You are absolutely right. But usually tuska asks hard questions. They are not clear the first time, since I use a translator.
Therefore, I do not swear, but I think, suddenly tuska is right.
There is no difference between plugins logic in TC x86 and x64.
A plugin never knows what other plugins are there and doesn't control the loading order.
The only decision a plugin can make is to process the file type given from TC or not.
AkulaBig wrote: 2023-06-26, 03:38 UTC
tuska wrote: 2023-06-25, 12:51 UTC I am very sorry for my wrong assumptions!
This is also the translator's fault. And also me, because I'm not very accurate in the description in the readme.
For example, my main goal when writing plugins is to make them portable. Since I myself use a portable vehicle.
But I'm not talking about portability anywhere. ...
Feedback on forum posts by AkulaBig and Horst.Epp
2Horst.Epp & AkulaBig
Unfortunately, I have to admit that I made a mistake in interpreting this example:

1 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx64
0 %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF.wlx
2 %COMMANDER_PATH%\Plugins\wlx\slister\slister.wlx

At the time of testing (now again) I did NOT notice that "slister.wlx64" was at the top and I tested with TC 11.00b8 x86.

Because of this, I suspected that a programmatic change was made by the plugin author,
which gives priority to the TCSumatraPDF plugin.

However, the fact is that the sLister plugin (x64) is skipped in this case and the TCSumatraPDF plugin (x86) is used.
This is also shown in the test examples I created.

I am very sorry for my mistake.
 

 
TCSumatraPDF Plugin + SumatraPDF
 
AkulaBig (> ...) and my answers (E: English, D: Deutsch (German)
  1. > SumatraPDF ... You do not understand the advantage of my plugin over sLister.
    I did not know the plugin until now.
  2. > ... TCSumatraPDF Plugin can close SumatraPDF by ESC
    E: The sLister plugin can also do this when using 64 bit. This is currently not possible with sLister plugin 32-bit.
    D: Das kann das sLister Plugin ebenfalls bei Verwendung von 64 bit. Bei 32 Bit ist dies derzeit nicht möglich.
    > The original sLister must use Sumatra PDF 32 and SumatraPDF 64 for this. Otherwise, ESC does not work.
    E: The ESC key currently only does not work with sLister 32 bit.
    D: Die ESC-Taste funktioniert derzeit nur bei 32 Bit noch nicht.
    > At the same time, sLister of both versions cannot close SumatraPDF versions older than 3.1 using Esc. But my plugin does.
    E: I have not tested that.
    D: Das habe ich nicht getestet.
  3. > Modified sLister slister.wlx 7168 Kb, slister.wlx 64 8704 Kb loses focus in Ctrl+Q.
    > Because of this, it cannot be used in quick view.
    E: No, the fault lies elsewhere - see test results.
    D: Nein, der Fehler liegt woanders - siehe Testergebnisse.
  4. > And the SumatraPDF 3.1 that I have included with the plugin has been modified to remove the protection of PDF files.
    > Although somewhat slow.
    E: This (version 3.1.1.10417z Pre-release) I have not yet tested, for lack of language skills and know how,
    because when you open the "SumatraPDF.exe" with a double click, you are immediately offered the menu language "Russian".
    This seems not to be changeable, because if I use the menu items of the current version,
    then I get to the web page: https://www.sumatrapdfreader.org/free-pdf-reader, instead of the language settings selection menu.

    If you click on another menu item, e.g. this one: "Вы используете самую новую версию пр ограммы."
    you get this hint message: "You are using the latest version of the program." ...
    (I extracted the Russian menu names using the Tool "Textify").

    D: Diese (Version 3.1.1.10417z Pre-release) habe ich noch nicht getestet, und zwar mangels Sprachkenntnissen und Know how,
    denn wenn man die "SumatraPDF.exe" per Doppelklick öffnet, wird einem sogleich die Menüsprache "Russisch" angeboten.
    Diese scheint nicht änderbar zu sein, denn wenn ich die Menüpunkte von der aktuellen Version verwende,
    dann gelange ich auf die Webseite: https://www.sumatrapdfreader.org/free-pdf-reader, anstatt in das Spracheinstellungsauswahlmenü.

    Bei Klick auf einen anderen Menüpunkt, zB diesen: "Вы используете самую новую версию программы."
    erhält man diese Hinweismeldung: "You are using the latest version of the program." ...
    (Die russischen Menübezeichnungen habe ich mit dem Tool "Textify" extrahiert).
 
Horst.Epp (> ...) and my answer (E: English, D: Deutsch (German)
  1. > This is not a function of any plugin ! A plugin doesn't know anything about other plugins and their order.
    > TC calls the plugins according to the order you have set and the Detection strings.

    > There is no difference between plugins logic in TC x86 and x64.
    > A plugin never knows what other plugins are there and doesn't control the loading order.
    > The only decision a plugin can make is to process the file type given from TC or not.

    E: Confirmed. Sorry for my wrong assumptions (please see details above).
    D: Bestätigt. Tut mir leid für meine falschen Annahmen (bitte siehe die Details oben).
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

Thank you for the great job testing my plugins. Not everyone understood why I wrote a new plugin using SumatraPDF. Although I described the differences in the readme. I hope after your testing everyone will understand the differences of my plugin.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

2AkulaBig
TCSumatraPDF Plugin 1.4 - x86, x64

F3: Lister (sumatrapdf) -> OK
4: Digit 4 Switch to the next plugin -> no longer works immediately!
     In version 1.3 this still worked.

F3, ALT+Tab, ALT+Tab, 4 -> works!

Please check (especially x86).
Thanks!
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-12, 12:38 UTC 4: Digit 4 Switch to the next plugin -> no longer works immediately!
     In version 1.3 this still worked.
I noticed that my plugin works a little differently than sLister, especially the 'N', 'P' keys. In 1.4, I specifically changed the functionality so that it was one to one, like in sLister. Apparently, the functionality of '4' also changed. I'll check.
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

Checked. sLister behaves exactly the same way. This seems to be a fundamental behavior, but I'll try to solve this issue.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

AkulaBig wrote: 2023-07-12, 14:50 UTC Checked. sLister behaves exactly the same way. This seems to be a fundamental behavior, but I'll try to solve this issue.
As you have probably already noticed from my test results,
everything was fine in version 1.3 - error-free.

However, I must confess that I have not tested the 'N', 'P' keys.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

2AkulaBig

Another topic:
With an upgrade, e.g. from wlx_TCSumatraPDF_1.3 to wlx_TCSumatraPDF_1.4, these files are currently overwritten(!):
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt

At the moment I solve it like this: Backup files
C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-3.4.6-32.exe            -> for renaming to SumatraPDF.exe
C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings_BACKUP.txt -> for renaming to SumatraPDF-settings.txt

The files you use for the plugin installation are these:

Code: Select all

Name/Ext			Size		Date
----------------------------------------------------------------
SumatraPDF.exe			2 644 480	31.10.2015 21:07  ; Version: 3.1.1.10417 ‎- 31.‎10.‎2015 *)
SumatraPDF-settings.txt		    1 730	05.07.2023 19:44  ; Minimal configuration
----------------------------------------------------------------

*) I gave you feedback here on this file under point 4.
   I think no one will want to work with this version of the file anymore except for a specific purpose.

I would even suggest that you move this file to a plugin subfolder
and additionally at %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe
an actual file, e.g. SumatraPDF-3.4.6-32.exe -> renamed to: SumatraPDF.exe is used.

Then only this topic remains: Overwriting this file...
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt

Maybe it could be solved like this in the future:
If this file exists in %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\,
then this file should not be overwritten.

What do you think?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6497
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *Horst.Epp »

AkulaBig wrote: 2023-07-12, 14:33 UTC
tuska wrote: 2023-07-12, 12:38 UTC 4: Digit 4 Switch to the next plugin -> no longer works immediately!
     In version 1.3 this still worked.
I noticed that my plugin works a little differently than sLister, especially the 'N', 'P' keys. In 1.4, I specifically changed the functionality so that it was one to one, like in sLister. Apparently, the functionality of '4' also changed. I'll check.
With version 1.4 the N and P keys are no longer working.
Version 1.3 has no such problems.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

Horst.Epp wrote: 2023-07-12, 16:34 UTC With version 1.4 the N and P keys are no longer working.
Version 1.3 has no such problems.
Thanks for testing! :D
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

Horst.Epp wrote: 2023-07-12, 16:34 UTC With version 1.4 the N and P keys are no longer working.
They should not work as in Lister. They scroll through the file, like in SumatraPDF. This is how it works in sLister.
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-12, 16:21 UTC What do you think?
I will then move it to the SumatraPDF3.1 subfolder. It looks like you don't want to clean it up. But the TC does not know how to overwrite.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

AkulaBig wrote: 2023-07-12, 18:13 UTC
tuska wrote: 2023-07-12, 16:21 UTC What do you think?
I will then move it to the SumatraPDF3.1 subfolder.
I think that's good.
AkulaBig wrote: 2023-07-12, 18:13 UTC
tuska wrote: 2023-07-12, 16:21 UTC What do you think?
... It looks like you don't want to clean it up.
But the TC does not know how to overwrite.
Yes, I want to keep the file ...\SumatraPDF.exe (3.1) to test later.
If I know how this works, I can add a description to the documentation
OR you could give a description in the file ...\TCSumatraPDF\Readme.txt.

Speaking of overwriting...

Overwrite - Reference:
TCIrfanView - irfanview.ini
2. Installation locations WITH write permissions
a. During an update/upgrade the file "irfanview.ini" will NOT be overwritten!

Can't you do the same for the file "SumatraPDF-settings.txt" :?:
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-12, 20:34 UTC Yes, I want to keep the file ...\SumatraPDF.exe (3.1) to test later.
That is, it is not necessary to completely remove 3.1? Do as I intended?
tuska wrote: 2023-07-12, 20:34 UTC Can't you do the same for the file "SumatraPDF-settings.txt" :?:
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF-settings.txt
Of course my SumatraPDF-settings.txt will also be in the 3.1 subfolder

Here's how I came up with the '4'. Since the important hotkeys of SumatraPDF and TC Lister are the same, '4', 'N', 'P' do not work in sLister in TC Lister. I will try to enable '4' in modes where it is not required by SumatraPDF.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

2AkulaBig
In my opinion wlx_TCSumatraPDF_1.3.7z was perfect and needs no more modification(!).
Regarding file structure or overwriting I can imagine the following:
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\

Code: Select all

Name/Ext		Size		Date		    Comments
----------------------------------------------------------------------------------------
Readme.txt		     2 283	05.07.2023 20:02
Readme_RUS.txt		     2 277	05.07.2023 20:02
sumatrapdf.ini	                11	23.06.2023 01:25    [Options] nothing else
SumatraPDF.wlx		   104 960	05.07.2023 19:11
SumatraPDF.wlx64	   124 928	05.07.2023 19:09
sumatrapdf.sample.ini	     1 160	05.06.2023 21:11
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\

Code: Select all

Name/Ext		Size		Date		    Comments
----------------------------------------------------------------------------------------
sumatrapdfcache\	<DIR>		12.07.2023 14:29
Manual.chm		    14 304	16.03.2020 04:38
readme.txt		       944	05.09.2020 11:43
SumatraPDF.exe		12 644 824	08.06.2022 21:25    renamed SumatraPDF-3.4.6-32.exe
SumatraPDF64.exe	13 605 336	08.06.2022 21:27    renamed SumatraPDF-3.4.6-64.exe
SumatraPDF-settings.txt	    50 994	13.07.2023 11:19    <- these are already own settings; ... 
1. Pluginauthor - settings -> For initial installation only.
2. User - settings ...... -> If a user overwrites the settings of the plugin author with his own settings,
   the settings of the user are valid from this point on. An update/upgrade should no longer overwrite these settings!
   If the plugin author updates his settings, they are visible here:
   %COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF3.1\SumatraPDF-settings.txt
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF3.1\

Code: Select all

Name/Ext		Size		Date		    Comments
----------------------------------------------------------------------------------------
Manual.chm		    14 304	16.03.2020 04:38
readme.txt		       944	05.09.2020 11:43
SumatraPDF.exe		 2 644 480	31.10.2015 21:07    Version: 3.1.1.10417
SumatraPDF-settings.txt	     1 730	05.07.2023 19:44    Pluginauthor - settings
If you can do it that way, then everything is more than perfect for me. :)
(At the moment I have switched back to TCSumatraPDF 1.3.).
Post Reply