I have em_command(s) which change file size and date, i'm using date sorting. If i select my files and click on a button launching em_xxx, the file are processed but not selected anymore.
How to keep file selected after processing, I'm looking for an option/toggle working with all my command without changing them.
keep file selected after em_command
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: keep file selected after em_command
You can use a combination of commands:
cm_saveselection,em_command,cm_restoreselection
cm_saveselection,em_command,cm_restoreselection
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: keep file selected after em_command
@ghisler
I could have a cm_restoreselection but i miss an automatic save selection flag.
Yes i know about save/restore commands but i do not want to alter menu and bars to have save the selection before any click.ghisler(Author) wrote: 2024-12-04, 11:45 UTC You can use a combination of commands:
cm_saveselection,em_command,cm_restoreselection
I could have a cm_restoreselection but i miss an automatic save selection flag.
Re: keep file selected after em_command
Rename the existing command to em_command_old. Create a new one with the same name (em_command), which consists of the combination:nsp wrote:i do not want to alter menu and bars
cm_saveselection,em_command_old,cm_restoreselection.