Make persistent selection more persistent
Moderators: Hacker, petermad, Stefan2, white
Make persistent selection more persistent
How about making the persistent selection a little bit more persistent. Persistent in TC's world means not to clear the selection when another listitem get focused. The persistent selection is still cleared when going away, drinking coffee (or insert another acitivity that takes any amount of time), and reactivaying the TC window. TC may find that the directory contents have changed, reloads the contents, and resets the selection.
Why not keep the selection intact, while still reloading directory contents? This might be very useful for selecting things in a directory that you are downloading to (or is being uploaded to, by another person in the network).
I can go even further. Why not keep the selection intact even after N directory changes? You might by accident go into another directory only to come back and discover that your selection is now gone. This is a punishment in some cases and is not neccesary if TC would keep track of per-directory selection up to a certain amount of previous selections.
Why not keep the selection intact, while still reloading directory contents? This might be very useful for selecting things in a directory that you are downloading to (or is being uploaded to, by another person in the network).
I can go even further. Why not keep the selection intact even after N directory changes? You might by accident go into another directory only to come back and discover that your selection is now gone. This is a punishment in some cases and is not neccesary if TC would keep track of per-directory selection up to a certain amount of previous selections.
Try pressing NUM / in that situation. If you don't have a numeric keyboard, then use Mark -> Restore selection - or make a button with the command cm_RestoreSelectionThe persistent selection is still cleared when going away, drinking coffee (or insert another acitivity that takes any amount of time), and reactivaying the TC window. TC may find that the directory contents have changed, reloads the contents, and resets the selection.
.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
I know the numpad-slash trick, I was just hoping that TC would do this automatically in a future version.
Also, num-slash does work when the directory has changed, only when the content has changed (or the selection is reset for some other reason).
I guess my point is, persistent selections are not persistent, and I don't think it is logical that a change in directory contents should reset the selection. There's no practical reason for that (the only reason for it, is a technical one), as far as I can see.
Also, num-slash does work when the directory has changed, only when the content has changed (or the selection is reset for some other reason).
I guess my point is, persistent selections are not persistent, and I don't think it is logical that a change in directory contents should reset the selection. There's no practical reason for that (the only reason for it, is a technical one), as far as I can see.
The thing is the Save selection works predictably, just not the way you (and I) would expect.
It automatically saves selection if you select some files and make some operation on them and it changes it when you select and make some operation on other files. This includes operations that are selecting files automatically - showing a context menu, delete, copy (not in destination dir, since it does not select there anything), ...
It automatically saves selection if you select some files and make some operation on them and it changes it when you select and make some operation on other files. This includes operations that are selecting files automatically - showing a context menu, delete, copy (not in destination dir, since it does not select there anything), ...
Windows 10 Pro x64, Windows 11 Pro x64
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Save selection "temporarily" is of almost no use. As soon as you use any other TC command the saved selection is lost.
Or if you switch panels/tabs and use "save selection" in another tab. You can no longer restore the selection in the previous tab.
The save-selection command should be PER tab, and it shouldn't be lost until you use save-selection Again.
Or if you switch panels/tabs and use "save selection" in another tab. You can no longer restore the selection in the previous tab.
The save-selection command should be PER tab, and it shouldn't be lost until you use save-selection Again.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
cm_SaveSelection (cmd# 530)
cm_RestoreSelection (cmd#529)
Basically, you can select files - whether or not Norton-style-right-click select is enabled, and "briefly" save that selection.
As soon as you change dirs, or use another TC internal command (incl. saveSelection in another tab) You are no longer able to restore the selection.
The command is so fragile I'm not sure what I would ever use it for.
Compare it to TwinKey's "StickySelect" or Bookmarks ---which can be retained not only between tabs but also when you close TC and restart!
cm_RestoreSelection (cmd#529)
Basically, you can select files - whether or not Norton-style-right-click select is enabled, and "briefly" save that selection.
As soon as you change dirs, or use another TC internal command (incl. saveSelection in another tab) You are no longer able to restore the selection.
The command is so fragile I'm not sure what I would ever use it for.
Compare it to TwinKey's "StickySelect" or Bookmarks ---which can be retained not only between tabs but also when you close TC and restart!
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
As a workaround you can use:cm_SaveSelection (cmd# 530)
cm_RestoreSelection (cmd#529)
cm_CopyFullNamesToClip
cm_LoadSelectionFromClip
It wil stay in Clipboard until replaced by other clip.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
cm_SaveSelection / cm_RestoreSelection works also after changing directories. However, TC calls cm_SaveSelection itself before most file operations, so you can use "/" on the numeric keypad for cm_RestoreSelection after most operations without the need of calling cm_SaveSelection yourself.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
And that's the problem. While sometimes this can be useful, it makes manual saving useless, because that save gets overwritten after any operation (even by a simple right-click to show a context menu). I think that a manually saved selection should be independent of the automatic one.ghisler(Author) wrote:However, TC calls cm_SaveSelection itself before most file operations ...
Windows 10 Pro x64, Windows 11 Pro x64
I agree.I think that a manually saved selection should be independent of the automatic one
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
"Autosave-Selection"
- SupportBalderstrom wrote:The save-selection command should be PER tab,
- SupportBalderstrom wrote: and it shouldn't be lost
- SupportBalderstrom wrote:until you use save-selection Again.
- SupportBalderstrom wrote:[Snip]...not only between tabs but also when you close TC and restart!