(Lister) Esc button won't work in Explorer Preview

Bug reports will be moved here when the described bug has been fixed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
mackeev
Junior Member
Junior Member
Posts: 31
Joined: 2014-01-09, 06:19 UTC

(Lister) Esc button won't work in Explorer Preview

Post by *mackeev »

It seems like it's part of this (viewtopic.php?f=16&t=54317#p360486) problem, but...
I can (and did) set Explorer Preview as Lister default for .doc, .docx, etc. files, so it would be wonderful if I could use Esc to close the window.
Is it possible? Just to make Esc work?
Devices: Xiaomi Redmi Note 5 Pro, LG Optimus Exceed 2
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39969
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: (Lister) Esc button won't work in Explorer Preview

Post by *ghisler(Author) »

This cannot be fixed. The Explorer preview handlers use their own windows and "eat" most hotkeys, including '4' and ESC.
Author of Total Commander
http://www.ghisler.com
mackeev
Junior Member
Junior Member
Posts: 31
Joined: 2014-01-09, 06:19 UTC

Re: (Lister) Esc button won't work in Explorer Preview

Post by *mackeev »

I think I can (or can I?) make it work via an autohotkey script (by using the AutoHotKey app). But I have no idea what lister's handle is, as well as the syntax: totalcmd.exe_lister (Lister), ..?

UPD
It turns out I can do it by running the following script:

Code: Select all

#IfWinActive Lister
Esc::WinKill
One can convert it to .exe file and run at every Windows startup
Devices: Xiaomi Redmi Note 5 Pro, LG Optimus Exceed 2
User avatar
Horst.Epp
Power Member
Power Member
Posts: 3882
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: (Lister) Esc button won't work in Explorer Preview

Post by *Horst.Epp »

mackeev wrote:
2020-01-23, 07:09 UTC
It seems like it's part of this (https://www.ghisler.ch/board/viewtopic.php?f=16&t=54317#p360486) problem, but...
I can (and did) set Explorer Preview as Lister default for .doc, .docx, etc. files, so it would be wonderful if I could use Esc to close the window.
Is it possible? Just to make Esc work?
There are much netter previews for this file types,Ulister for Exempel.
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.572)
TC 9.51 x64 / x86, Everything 1.4.1.994 (x64)
mackeev
Junior Member
Junior Member
Posts: 31
Joined: 2014-01-09, 06:19 UTC

Re: (Lister) Esc button won't work in Explorer Preview

Post by *mackeev »

If "netter" means "better" then no. uLister is pure crap. I really have no idea why you guys keep swearing by it.
Devices: Xiaomi Redmi Note 5 Pro, LG Optimus Exceed 2
User avatar
Horst.Epp
Power Member
Power Member
Posts: 3882
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: (Lister) Esc button won't work in Explorer Preview

Post by *Horst.Epp »

mackeev wrote:
2020-01-30, 07:13 UTC
If "netter" means "better" then no. uLister is pure crap. I really have no idea why you guys keep swearing by it.
Because it Displays many file formats without Problems.
Whatever problems you have, it looks like most of us dont have major problems
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.572)
TC 9.51 x64 / x86, Everything 1.4.1.994 (x64)
mackeev
Junior Member
Junior Member
Posts: 31
Joined: 2014-01-09, 06:19 UTC

Re: (Lister) Esc button won't work in Explorer Preview

Post by *mackeev »

Nonetheless fixed in 9.51!
Thank you, Christian.
Devices: Xiaomi Redmi Note 5 Pro, LG Optimus Exceed 2
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39969
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: (Lister) Esc button won't work in Explorer Preview

Post by *ghisler(Author) »

Indeed I'm using a keyboard hook now to intercept keypresses in Explorer preview. The following key presses should work:
Esc (in Lister)
Tab (in Ctrl+Q)
n,p (next/previous file)
1..8 (switch to other mode)
Author of Total Commander
http://www.ghisler.com
Post Reply