sLister WLX plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
rokingphone
Junior Member
Junior Member
Posts: 5
Joined: 2022-10-13, 01:40 UTC

Re: sLister WLX plugin

Post by *rokingphone »

I use slister 1.1.2 and sumatarpdf 3.4.6, I found that it can not remember the page that I read when using F3 to open the pdf file, and it can not refresh immediately when I edit and save the pdf file (both works well when using sumatarpdf itself). How to solve these two problems?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: sLister WLX plugin

Post by *Horst.Epp »

There are no hidden options in SLister, so I guess you can't solve that.
There are many other ways to view PDFs in lister eg. ULister or Explorer Preview
But to my knowledge none of them does what you want.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: sLister WLX plugin

Post by *petermad »

2Horst.Epp
There are many other ways to view PDFs in lister eg. ULister or Explorer Preview
Hmm, I cannot make it work with Explorer Preview (Windows 10 & 7) - does it require Micro$oft Office installed or something?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: sLister WLX plugin

Post by *Horst.Epp »

petermad wrote: 2022-11-03, 13:37 UTC 2Horst.Epp
There are many other ways to view PDFs in lister eg. ULister or Explorer Preview
Hmm, I cannot make it work with Explorer Preview (Windows 10 & 7) - does it require Micro$oft Office installed or something?
In the preview handler config its called "Microsoft PDF Previewer".
For me it came with the actual MS Edge versions.
There is also one which comes as part of the Power Toys but I don't enabled it.

Btw. I didn't mentioned another very good PDF preview handler which comes with PDF-XChange Editor from Tracker software.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: sLister WLX plugin

Post by *petermad »

2Horst.Epp
In the preview handler config its called "Microsoft PDF Previewer".
Where do it find that configuration?
For me it came with the actual MS Edge versions.
I can open .pdf files with Edge, but not in Explorer preview in TC - so something is missing.

I searched the Microsoft Store for "Microsoft PDF Previewer" without any luck.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
rokingphone
Junior Member
Junior Member
Posts: 5
Joined: 2022-10-13, 01:40 UTC

Re: sLister WLX plugin

Post by *rokingphone »

Horst.Epp wrote: 2022-11-03, 09:26 UTC There are no hidden options in SLister, so I guess you can't solve that.
There are many other ways to view PDFs in lister eg. ULister or Explorer Preview
But to my knowledge none of them does what you want.
SumatarPDF is good enough for me to view pdf files. If SLister can not solve the problems I mentioned, I'd better use Enter to open pdf files with SumatarPDF.
Ulister can view pdfs but it's slow, I've pressed 3 times of PageDown key, it still on the first page:) And it locks the pdfs, if I edit the pdf file with Acrobat, it can not be saved.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: sLister WLX plugin

Post by *Horst.Epp »

petermad wrote: 2022-11-03, 22:54 UTC 2Horst.Epp
In the preview handler config its called "Microsoft PDF Previewer".
Where do it find that configuration?
Its under this key, her an export of my list

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers]
"{13D3C4B8-B179-4ebb-BF62-F704173E7448}"="Windows Contact Preview Handler"
"{1531d583-8375-4d3f-b5fb-d23bbd169f22}"="Windows TXT Previewer"
"{53BEDF0B-4E5B-4183-8DC9-B844344FA104}"="Microsoft Windows MAPI Preview Handler"
"{8a7cae0e-5951-49cb-bf20-ab3fa1e44b01}"="Windows Font previewer"
"{92dbad9f-5025-49b0-9078-2d78f935e341}"="Microsoft Windows Mail Mime Preview Handler"
"{a42c2ccb-67d3-46fa-abe6-7d2f3488c7a3}"="Windows RTF Previewer"
"{b9815375-5d7f-4ce2-9245-c9d4da436930}"="Microsoft Windows Mail Mime Preview Handler"
"{BFD468D2-D0A0-4bdc-878C-E69C2F5B435D}"="Microsoft Windows Mail Html Preview Handler"
"{E64164EB-1AE0-4C50-BAEF-A413C2B3A4BC}"="Microsoft 3MF Shell Thumbnail and Preview Handler"
"{f8b8412b-dea3-4130-b36c-5e8be73106ac}"="Microsoft Windows Mail Html Preview Handler"
"{031EE060-67BC-460d-8847-E4A7C5E45A27}"="Windows Media Player Rich Preview Handler"
"{AD8855FB-F908-4DDF-982C-ADB9DE5FF000}"="Delphi Preview Handler"
"{37742665-fa1f-4da6-9c29-59fdfba13fd7}"="BrandsICT Msg Preview Handler"
"{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}"="Microsoft PDF Previewer"
"{32a6a30d-c68e-4f7a-aa4c-2fa9011b0717}"="Foxit PDF Preview Handler"
"{9B68BDF7-95F9-4A1F-851C-27D822F8E3E9}"="PDF-XChange Preview Handler"
If use the tool PreviewHandlerEditor which is from an Microsoft people
https://learn.microsoft.com/de-de/archive/blogs/toub/preview-handler-association-editor
Unfortunately the zip file to download is no longer available.
I will send you a private mail with a link to my OneDrive storage.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: sLister WLX plugin

Post by *petermad »

2Horst.Epp
I will send you a private mail with a link to my OneDrive storage.
Thank you - i got it - The tool shows that Microsoft PDF PreViewer is registered, but not associatated with anything - and not anything to associate it with in the tool either.

Registry wrote:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers]
"{13D3C4B8-B179-4ebb-BF62-F704173E7448}"="Windows Contact Preview Handler"
"{1531d583-8375-4d3f-b5fb-d23bbd169f22}"="Windows TXT Previewer"
"{53BEDF0B-4E5B-4183-8DC9-B844344FA104}"="Microsoft Windows MAPI Preview Handler"
"{8a7cae0e-5951-49cb-bf20-ab3fa1e44b01}"="Windows Font previewer"
"{92dbad9f-5025-49b0-9078-2d78f935e341}"="Microsoft Windows Mail Mime Preview Handler"
"{a42c2ccb-67d3-46fa-abe6-7d2f3488c7a3}"="Windows RTF Previewer"
"{b9815375-5d7f-4ce2-9245-c9d4da436930}"="Microsoft Windows Mail Mime Preview Handler"
"{BFD468D2-D0A0-4bdc-878C-E69C2F5B435D}"="Microsoft Windows Mail Html Preview Handler"
"{E64164EB-1AE0-4C50-BAEF-A413C2B3A4BC}"="Microsoft 3MF Shell Thumbnail and Preview Handler"
"{f8b8412b-dea3-4130-b36c-5e8be73106ac}"="Microsoft Windows Mail Html Preview Handler"
"{85862EDA-F507-4d5b-ACA9-BB2C34A85682}"="Microsoft XPS Rich Preview Handler"
"{031EE060-67BC-460d-8847-E4A7C5E45A27}"="Windows Media Player Rich Preview Handler"
"{DC6EFB56-9CFA-464D-8880-44885D7DC193}"="Adobe PDF Preview Handler for Vista"
"{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}"="Microsoft PDF Previewer"


[HKEY_CLASSES_ROOT\CLSID\{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}]
@="PDF Preview Handler"
"DisplayName"="PDF Preview Handler"
"AppID"="{6d2b5079-2f0b-48dd-ab7f-97cec514d30b}"
"EnablePreviewHandler"=dword:00000001

[HKEY_CLASSES_ROOT\CLSID\{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}\InProcServer32]
@="C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\107.0.1418.26\\PdfPreview\\PdfPreviewHandler.dll"
"ThreadingModel"="Apartment"


[HKEY_CLASSES_ROOT\AppID\{6d2b5079-2f0b-48dd-ab7f-97cec514d30b}]
@="Preview Handler Surrogate Host"
"DllSurrogate"="%SystemRoot%\\system32\\prevhost.exe"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: sLister WLX plugin

Post by *Horst.Epp »

So you can remove the option "Only show classes associated with this handler"
and then select .pdf from the list of all extensions (you must click it twice).
This works without any restarts.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: sLister WLX plugin

Post by *petermad »

remove the option "Only show classes associated with this handler"
I had tried that, but my Windows 10 PC is so slow that I didn't right away see any effect of turning that option off.

I now tried it again - and after 10 seconds the field Classes/extensions got propagated, so I could choose .png - and now it works :-) - thank you!
Last edited by petermad on 2022-11-04, 12:34 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: sLister WLX plugin

Post by *sqa_wizard »

If use the tool PreviewHandlerEditor which is from an Microsoft people
Unfortunately the zip file to download is no longer available.
Try this instead : https://www.winhelponline.com/blog/eml-file-preview-pane-explorer-windows/
#5767 Personal license
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: sLister WLX plugin

Post by *petermad »

FYI:
It was this key:

Code: Select all

[HKEY_CLASSES_ROOT\.pdf\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{DC6EFB56-9CFA-464D-8880-44885D7DC193}"
that had to be changed to:

Code: Select all

[HKEY_CLASSES_ROOT\.pdf\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{3A84F9C2-6164-485C-A7D9-4B27F8AC009E}"
to make the Microsoft PDF Previewer work.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: sLister WLX plugin

Post by *hi5 »

Sumatra PDF v3.5 (2023-10-23) and 3.51 (2023-10-24) @ https://www.sumatrapdfreader.org/download-free-pdf-viewer

Don't work for me, it opens the PDF but the TAB key no longer works and next / previous page with pageup/down only when you click in the PDF first. Closing quickview also doesn't work.

The TAB does work when you bring TC back in focus after say alt-tab, then it works as it should.

Reverted back to previous version myself.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Re: sLister WLX plugin

Post by *deus-ex »

I can confirm this issue, as I reported in detail here: viewtopic.php?t=74385&start=45#p443506
User avatar
oOoZEUSoOo
Junior Member
Junior Member
Posts: 56
Joined: 2021-07-09, 18:26 UTC
Location: France

Re: sLister WLX plugin

Post by *oOoZEUSoOo »

Hi,
2hi5, 2deus-ex,
I can confirm this issue as well.
I'm used to close the viewer with ESC key, but with this version, when using F3, SumatraPDF loose the focus and I have to click in the viewer window to close it with ESC.
With v3.4.6, it works very well.

2deus-ex
I have the same behavior as describe in your report except that in quick view mode (CTRL+Q) with multiple PDF, I don't have the focus in the right panel at first and I even think that TC loose the focus actually. Then when I click the right panel I Have the behaviour you describe in the other topic.

Best regards, Frederic.
Registered User. Total Commander : The best file manager...
Post Reply