Is any ways to get only selected files and folders in panel ?
If nothing selection in panel - then all commands (2017, 2018,2021, 530, 2031, 2041, 2042) think that single file under cursor is selected.
Parameters %N, %S, %L - too...
And only commands 530 cm_SaveSelection and 529 cm_RestoreSelection can understand - is single file selected or not selected. And if nothing is selected in the panel - nothing is restored.
Can I get filelist that was saved with cm_SaveSelection ?
Or any other ways to discover - is file selected or not.
Get only selection in panel
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Why is this is a problem? The file under the cursor is treated as selected when nothing else is selected. External tools should handle it this way too, to be consistent with internal functions.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It's not problem for simple users.Why is this is a problem?
But in different scripts (selections in panels with parameters, running programs or open selected files etc) it's a big problem and have to find sophisticated workarounds.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Re: Get only selection in panel
Bump for v.11.00
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway