Can the “undo” feature in MULTIRENAME without showing a dialog box?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
brucmao
Junior Member
Junior Member
Posts: 11
Joined: 2024-10-21, 02:58 UTC

Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *brucmao »

For example, with a custom command like:
cmd=MULTIRENAME==undo
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *ghisler(Author) »

Currently not, I will consider adding it. Currently you need to open the multi-rename tool with ANY file to access the undo button. Also that would only undo the last multi-rename function. TC will remember all multi-rename calls until closed, so you can undo more than one.
Author of Total Commander
https://www.ghisler.com
sa16
Senior Member
Senior Member
Posts: 343
Joined: 2021-09-10, 07:15 UTC

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *sa16 »

08.05.25 Release Total Commander 11.55 release candidate 1
...
26.03.25 Added: New <UNDO> parameter for the internal MULTIRENAME command opens the tool and offers the user to undo the last operation. ==<UNDO> starts undo without confirmation (all unless a saved rename operation with this name exists) (32/64)
It works, thank you!
It is only better to remove the error that occurs if there is a space/spaces between = and <UNDO>.

Add.
Also, if there is nothing to undo, then an error occurs (checked on TCx32):

Code: Select all

---------------------------
Total Commander 11.55RC1
---------------------------
Access violation at address 00418E28. Read of address 00000004.
Access violation at address 00418E28. Read of address 00000004
Windows 10 Professional 10.0 (Build 19045), base: 00400000

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
00418E28
0043BB4F  0043BC64  0044E3F9  0044E32F  004507B2  004503FE
0042BC9E  0042BC9E  0044F8F2  0042BC9E  0043BB9A  0044F99C
0042BC9E  00402255  004023FB  005D50F8  005D2BCD  005D35E0
005C99CA  0042D7F0  >0044E3F9  0044E32F  004502F3  0045034F
0044E32F  0044DA23  005C775A  004EA558  0045207C  0044E3F9
004503FE  0042BC9E  0044F8F2  0044F99C  0042BC9E  0044E85F
004314D9  00431574  
Raw:
005D1A3D  0045071B  0044E3F9  00451EF3  005CC382  0043BB4F
0043BC64  0044E3F9  004506CD  0044FA66  0044E32F  004507B2
00450B56  0044E3F9  004506CD  0044FA66  004503FE  00450421
0042BC9E  0042BC9E  0044F8F2  0042BC9E  00450777  0043BB9A
0044E3F9  004506CD  0044FA66  004503FE  00450421  0042BC9E
0044F99C  0042BC9E  00402255  00403440  004021D4  004023FB
00451EF3  005CC382  005D50F8  005D2BCD  005D35E0  005D3932
0044F8F2  0042BC9E  00450777  0044E3F9  004506CD  0043D749
0044FA66  004503FE  00450421  0042BC9E  0044E3F9  0044F99C
0044F8F2  0042BC9E  00450777  0044E3F9  004506CD  
Press Ctrl+C to copy this report!
Continue execution?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *ghisler(Author) »

I will check it, thanks.
Author of Total Commander
https://www.ghisler.com
sa16
Senior Member
Senior Member
Posts: 343
Joined: 2021-09-10, 07:15 UTC

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *sa16 »

History.txt wrote:14.05.25 Release Total Commander 11.55 release candidate 2
...
11.05.25 Fixed: MULTIRENAME <UNDO> crashed when nothing was to undo (32/64)
Confirmed fixed in TC 11.55rc2.

sa16 wrote: error that occurs if there is a space/spaces between = and <UNDO>.
It's not fixed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *ghisler(Author) »

Thanks for confirming the fix!

When there is a space between = and <UNDO> or a name, TC will look for a name starting with a space. Unfortunately you cannot save these because of how names are stored in ini files.
Author of Total Commander
https://www.ghisler.com
sa16
Senior Member
Senior Member
Posts: 343
Joined: 2021-09-10, 07:15 UTC

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *sa16 »

When there is a space between = and <UNDO> or a name, TC will look for a name starting with a space. Unfortunately you cannot save these because of how names are stored in ini files.
In the case of saved settings (123), the space/spaces between = and name do not cause an error message, for example, MULTIRENAME == 123.
sa16
Senior Member
Senior Member
Posts: 343
Joined: 2021-09-10, 07:15 UTC

Re: Can the “undo” feature in MULTIRENAME without showing a dialog box?

Post by *sa16 »

sa16 wrote:error that occurs if there is a space/spaces between = and <UNDO>.
Confirmed fixed in TC 11.55rc3. Thank ghisler(Author)!
Post Reply