-Cannot ESC message F4 in archive

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
HPA
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-02, 21:02 UTC

-Cannot ESC message F4 in archive

Post by *HPA »

When you press the F4 button to edit a file which is in an archive, the ESC key doesn't close the query that appears.

The query is: "Do you really want to unpack the selected file to a temporary directory and edit it?"

This also was in the TC 8.01.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

THIS is NOT a BUG as you have to choose YES or NO :!:
(youll notice you cant click that dialog by clicking the [x] either]
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Recently I've written a tiny program allowing to close Yes-No messageboxes by Esc. I think Esc may work as No perfectly.
User avatar
HPA
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-02, 21:02 UTC

Post by *HPA »

Yeah, you can click the Yes or No button.

But when I press the F4 key with my keyboard, I want to close the dialog with the ESC key. I don't want to grab my mouse and move the mousepointer and click the No button.

I could press the Alt+N keys to close the query.

I think about every window in TC you can closed with ESC.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

HPA,
This tool may enable closing Yes-No message boxes by Esc (decode and unpack):

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="NoCancel.cab"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="NoCancel.cab"

TVNDRgAAAABOBAAAAAAAACwAAAAAAAAAAwEBAAIAAABNQgAAZAAAAAEAAxUACgAAAAAAAAAAHkPb
USAATm9DYW5jZWwuZGxsAOkAAAAACgAAAAAeQ3ZRIABSZWFkbWUudHh0AGnZrhbiA+kKW4CAjQAQ
kq4AACMARTMAAA9QuW7XGvZoAqMBAaX0xEZ7rgSsIq1ZFm14qx3WpRVd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mk2uNfE/qY/
fZmBAaIYsDXh6qBJsAhHF+GeqbidWGcD56gC+8Koh8Mgq/70AhdxbAOoimMGBWVhleISrzIoV/fk
Jo7lIAcfK1r4duz8t4YlPtMK+GDhcL+uxAxaLykP8b+OU4IX3zQ+iRJY+OlabYKJZE1ipwVnEIWi
QVTVOllgPqxsZQec/VR0vLkAgA==
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm using Yes-No-Cancel in some places because of the misfeature of MessageBox, but this is confusing people too. So for now I will leave it as it is.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: NoCancel tool (-Cannot ESC message F4 in archive)

Post by *DrShark »

MVV wrote: 2013-08-30, 06:13 UTC This tool may enable closing Yes-No message boxes by Esc
Readme.txt wrote:You can use command the following command in order to load it:
rundll32.exe "X:\Path\To\NoCancel.dll",Resident
And how to close it correctly while it is running?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: -Cannot ESC message F4 in archive

Post by *MVV »

And how to close it correctly while it is running?
Since there was no need to stop or pause its functionality, there is no exit or close function, just kill the process. I start it from Task Scheduler with elevated rights and never close, it just always does its small job while PC is on.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: NoCancel tool (-Cannot ESC message F4 in archive)

Post by *DrShark »

MVV wrote: 2020-02-02, 14:07 UTC... just kill the process. I start it from Task Scheduler with elevated rights and never close, it just always does its small job while PC is on.
I also start it this way. So just to make it clear: killing rundll32.exe process which starts the library should completely unload dll from memory?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NoCancel tool (-Cannot ESC message F4 in archive)

Post by *MVV »

DrShark wrote: 2020-02-02, 17:42 UTCSo just to make it clear: killing rundll32.exe process which starts the library should completely unload dll from memory?
Yes, that's correct. This will stop loading the DLL into new processes, but it will remain loaded to some processes for some time (that's how global hooks work).
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: NoCancel tool (-Cannot ESC message F4 in archive)

Post by *DrShark »

2MVV
If I launch some apps with SandBoxie, NoCancel shows the message box:

Code: Select all

---------------------------
NoCancel
---------------------------
Error registering hook (0).
---------------------------
ОК   
---------------------------
Indeed it can show multiple messages like this during a start of single program...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: -Cannot ESC message F4 in archive

Post by *MVV »

Perhaps that's because Sandboxie prevents injection into the sandbox, so the only thing to fix is to remove this message.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: NoCancel tool (-Cannot ESC message F4 in archive)

Post by *DrShark »

MVV wrote: 2021-09-13, 05:02 UTC Perhaps that's because Sandboxie prevents injection into the sandbox, so the only thing to fix is to remove this message.
Maybe you could show it as a self-disappearing tooltip of app's icon in a notification area (showing NoCancel's tray icon only while the tooltip is shown)...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: -Cannot ESC message F4 in archive

Post by *MVV »

I've added a silent mode, please try it:
NoCancel 1.0.1
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: NoCancel tool (-Cannot ESC message F4 in archive)

Post by *DrShark »

MVV wrote: 2021-09-13, 07:45 UTCI've added a silent mode, please try it
Silent mode works great, thanks!
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply