cm_LoadSelectionFromClip is broken in cm_DirBranch mode?
Moderators: Hacker, petermad, Stefan2, white
-
- Member
- Posts: 134
- Joined: 2007-06-25, 11:54 UTC
cm_LoadSelectionFromClip is broken in cm_DirBranch mode?
While in DirBranch mode, use cm_CopySrcPathToClip on some selected files and if you try restore the selection with cm_LoadSelectionFromClip TC will fail to reselect all those files. IIRC this has been working fine for me before. Is this bugs in rc3 or it's made to work that way?
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I just checked with TC 7.50a, it has never worked with files in subdirs of the branch view. Why? cm_LoadSelectionFromClip expects the files in this form:
filenameinbranchroot.txt
somesubdir\fileinbranchsubdir.txt
etc.
Currently there is no command which can copy the selected names to the clipboard in this format. You can either copy the full path or just the names, but not relative names.
cm_SaveSelectionToFile is the only function which creates a list of files in the required format. Currently there is no cm_SaveSelectionToClip. I will consider it for TC 8.
filenameinbranchroot.txt
somesubdir\fileinbranchsubdir.txt
etc.
Currently there is no command which can copy the selected names to the clipboard in this format. You can either copy the full path or just the names, but not relative names.
cm_SaveSelectionToFile is the only function which creates a list of files in the required format. Currently there is no cm_SaveSelectionToClip. I will consider it for TC 8.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 134
- Joined: 2007-06-25, 11:54 UTC
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed cm_CopyFullNamesToClip doesn't work with branch view mode, neither in TC 7.55 not 7.50a. I will consider to support it in TC8.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)

ThanksCurrently there is no cm_SaveSelectionToClip. I will consider it for TC 8

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