Keep selection after Multi-Rename

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Keep selection after Multi-Rename

Post by *Hacker »

Hi *.*,
I'd like to suggest for TC to keep files selected after they are renamed using the Multi-Rename Tool. I usually select a bunch of files, rename them using the MRT and then I want to copy them somewhere but I can't, first I have to select them again because the selection is lost after closing the MRT.
Thanks for considering.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7011
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Keep selection after Multi-Rename

Post by *Horst.Epp »

After an MRT there may be no longer the same file names available
to restore the selection.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC6 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.3 x64
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Keep selection after Multi-Rename

Post by *Hacker »

Horst.Epp,
Yes, that is exactly the problem.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7011
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Keep selection after Multi-Rename

Post by *Horst.Epp »

Hacker wrote: 2023-05-02, 15:59 UTC Horst.Epp,
Yes, that is exactly the problem.

Roman
So you want that TC adapts the previous selction to the new names after the MRT and restores this ?
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC6 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.3 x64
hi5
Power Member
Power Member
Posts: 641
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Keep selection after Multi-Rename

Post by *hi5 »

Extremely popular suggestion in my poll (well, ok 19 votes at the moment) https://www.ghisler.ch/board/viewtopic.php?t=49294

as mentioned "the filenames are already in memory for use with the "Undo" function" so they are available to use one way or another
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
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Keep selection after Multi-Rename

Post by *Hacker »

Horst.Epp,
So you want that TC adapts the previous selction to the new names after the MRT and restores this ?
Yes, exactly.

hi5,
well, ok 19 votes at the moment
20 :D

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
hi5
Power Member
Power Member
Posts: 641
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Keep selection after Multi-Rename

Post by *hi5 »

Hacker wrote: 2023-05-02, 20:07 UTC20 :D
👍
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
funkymonk
Senior Member
Senior Member
Posts: 499
Joined: 2013-12-04, 09:56 UTC

Re: Keep selection after Multi-Rename

Post by *funkymonk »

Support++
That would be very helpful in some situations...
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Keep selection after Multi-Rename

Post by *jinsight »

Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
HuSc
Junior Member
Junior Member
Posts: 25
Joined: 2014-03-10, 15:55 UTC

Re: Keep selection after Multi-Rename

Post by *HuSc »

Support++
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50840
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Keep selection after Multi-Rename

Post by *ghisler(Author) »

It's unfortunately not that easy - the user could use multiple rename steps, undo some of them, and each time some files may not be renamed...
Author of Total Commander
https://www.ghisler.com
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Keep selection after Multi-Rename

Post by *Stefan2 »

Hacker wrote: 2023-05-02, 14:27 UTC Hi *.*,
I'd like to suggest for TC to keep files selected after they are renamed using the Multi-Rename Tool. I usually select a bunch of files, rename them using the MRT and then I want to copy them somewhere but I can't, first I have to select them again because the selection is lost after closing the MRT.
Thanks for considering.

Roman
ghisler(Author) wrote: 2023-05-04, 09:25 UTC It's unfortunately not that easy - the user could use multiple rename steps, undo some of them, and each time some files may not be renamed...


Maybe TC could export the NewName column and use some SelectFromFile function on click on an new [Select]-button near the [Start!]-button?


?



 
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Keep selection after Multi-Rename

Post by *Hacker »

Christian,
It's unfortunately not that easy - the user could use multiple rename steps, undo some of them, and each time some files may not be renamed
If it is difficult to keep track of the original name -> ... -> final name mapping, I'd be happy if it worked for one-step-renaming only. This could be implemented by checking the last (most recent) Old name -> New name mapping when closing the MRT window.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
jbcb
Junior Member
Junior Member
Posts: 43
Joined: 2013-08-30, 06:43 UTC

Re: Keep selection after Multi-Rename

Post by *jbcb »

Hacker wrote: 2023-05-04, 10:09 UTC Christian,
It's unfortunately not that easy - the user could use multiple rename steps, undo some of them, and each time some files may not be renamed
If it is difficult to keep track of the original name -> ... -> final name mapping
It shouldn't be that complicated. In the simplest scenario, just have a two-dimensional array. In the first dimension is a list of selected files, and in the second dimension a new name is stored by substitution. Then at the end of all renames, I know the original and new names.
But surely a more optimal algorithm can be devised.
Post Reply