remove from result
Moderators: Hacker, petermad, Stefan2, white
remove from result
I'm working from a result pane (feed to listbox) and do manual tasks from the results.
I would like to remove from listbox but not delete the file.
I currently select the files i want to remove, invert selection, save selection to file and reload... It could be nice to have a cm_RemoveFromResult command to just have selected file not in the result pane anymore...
I would like to remove from listbox but not delete the file.
I currently select the files i want to remove, invert selection, save selection to file and reload... It could be nice to have a cm_RemoveFromResult command to just have selected file not in the result pane anymore...
Re: remove from result
What i colored is not necessary - just use "Only selected files" from "Show" menu.nsp wrote: 2024-12-08, 10:15 UTC I'm working from a result pane (feed to listbox) and do manual tasks from the results.
I would like to remove from listbox but not delete the file.
I currently select the files i want to remove, invert selection, save selection to file and reload... It could be nice to have a cm_RemoveFromResult command to just have selected file not in the result pane anymore...
You can also build user command to make operation slightly faster and easier after select files, e.g.:
Code: Select all
[em_RemoveFromResult]
cmd=cm_ExchangeSelection,cm_ShowOnlySelected
Re: remove from result
2Gral
The problem with that function is that it is only active until TC looses focus, so if you need to do other stuff in between in other programs, then all the files will be shown again when you return to TC.just use "Only selected files" from "Show" menu.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: remove from result
Only with regular panel - NOT with search result!
Re: remove from result
2Gral
Is it more correct to remove the selection?
cm_ExchangeSelection,cm_ShowOnlySelected,cm_ClearAll
Confirmed.NOT with search result!
Is it more correct to remove the selection?
cm_ExchangeSelection,cm_ShowOnlySelected,cm_ClearAll
Re: remove from result
I think it depends on what you want to do further.
Re: remove from result
Perhaps it is better to use cm_ExchangeSelBoth instead of cm_ExchangeSelection.
In order not to depend on the settings.
In order not to depend on the settings.
Re: remove from result
Yes, my code is just example.
Re: remove from result
2Gral
You are right - never thought it would be different - it is the same for Branch view, I just realizedOnly with regular panel - NOT with search result!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
[OK]Re: remove from result / em_removeResult
Thanks to all of you and specially @gral, i was not thinking that only working with selection would work so great in this situation.
The current working command for me is:
The current working command for me is:
Code: Select all
[em_removeSelectedFromResult]
cmd=cm_ExchangeSelBoth,cm_ShowOnlySelected,cm_ClearAll