Page 1 of 1
Keep selection after Multi-Rename
Posted: 2023-05-02, 14:27 UTC
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
Re: Keep selection after Multi-Rename
Posted: 2023-05-02, 15:31 UTC
by Horst.Epp
After an MRT there may be no longer the same file names available
to restore the selection.
Re: Keep selection after Multi-Rename
Posted: 2023-05-02, 15:59 UTC
by Hacker
Horst.Epp,
Yes, that is exactly the problem.
Roman
Re: Keep selection after Multi-Rename
Posted: 2023-05-02, 18:20 UTC
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 ?
Re: Keep selection after Multi-Rename
Posted: 2023-05-02, 19:11 UTC
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
Re: Keep selection after Multi-Rename
Posted: 2023-05-02, 20:07 UTC
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
Roman
Re: Keep selection after Multi-Rename
Posted: 2023-05-02, 20:46 UTC
by hi5
Hacker wrote: 2023-05-02, 20:07 UTC20


Re: Keep selection after Multi-Rename
Posted: 2023-05-03, 06:29 UTC
by funkymonk
Support++
That would be very helpful in some situations...
Re: Keep selection after Multi-Rename
Posted: 2023-05-03, 16:10 UTC
by jinsight
Support++
Re: Keep selection after Multi-Rename
Posted: 2023-05-04, 07:50 UTC
by HuSc
Support++
Re: Keep selection after Multi-Rename
Posted: 2023-05-04, 09:25 UTC
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...
Re: Keep selection after Multi-Rename
Posted: 2023-05-04, 09:46 UTC
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?
?
Re: Keep selection after Multi-Rename
Posted: 2023-05-04, 10:09 UTC
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
Re: Keep selection after Multi-Rename
Posted: 2023-05-05, 06:31 UTC
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.