Copy text of only certain columns
Moderators: Hacker, petermad, Stefan2, white
Re: Copy text of only certain columns
*revive*
Hi!
Is it possible not to copy the filename and extension?
I know that it can't be hidden, neither can it be modified in any way.
So now, is there any workaround to copy only custom columns without filename and extension?
Hi!
Is it possible not to copy the filename and extension?
I know that it can't be hidden, neither can it be modified in any way.
So now, is there any workaround to copy only custom columns without filename and extension?
Asus Maximus VIII Hero · Win10 Pro x64
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Re: Copy text of only certain columns
In Total Commander 10.50 you can specify which columns to copy.
HISTORY.TXT wrote:09.03.22 Added: cm_CopyFileDetailsToClip, cm_CopyHdrFileDetailsToClip etc. now accept parameter to copy only specific columns (1=name+ext, 2=first custom, 4=second custom etc.) in normal, comments, and custom columns view. Parameter 1 alone copies full list with headers, for backwards compatibility (32/64)
Examples:Help - Dialog box: Choose command wrote: List of internal cm_x commands which support a parameter:
...
CM_COPYFILEDETAILSTOCLIP,
CM_COPYFPFILEDETAILSTOCLIP,
CM_COPYNETFILEDETAILSTOCLIP,
CM_COPYHDRFILEDETAILSTOCLIP,
CM_COPYHDRFPFILEDETAILSTOCLIP,
CM_COPYHDRNETFILEDETAILSTOCLIP
Copy only specific columns:
1=name+extension, 2=first additional column, 4=second additional column, 8=third etc.
Note: 1 alone copies full list with headers, for backwards compatibility
CM_COPYFILEDETAILSTOCLIP 2 - skips name and extension and copies the next column.
CM_COPYFILEDETAILSTOCLIP 4 - skips name and extension and following column and copies the next column.
CM_COPYFILEDETAILSTOCLIP 6 - skips name and extension and copies the next 2 columns.
Re: Copy text of only certain columns
okay, many thanks.
Where can I find those commands?
The ones you mentioned are not present in the "button editor".
Image: http://w-k.bplaced.net/public/greenshot_tc.png
And what parameters are accepted?
There should be a documentation...
I have about 20 custom column views and I use 2 of them regularly and want to copy the custom columns of that view.
How can that be done?
For example CCV1 has audio ID (Artist + Title) and CCV2 has image information (Shutter speed, EV, etc.)
What if I want all of the custom columns except filename and extension?
There should be something easier that these parameters.
So I need to count my custom columns before I can copy them, what the heck...
Where can I find those commands?
The ones you mentioned are not present in the "button editor".
Image: http://w-k.bplaced.net/public/greenshot_tc.png
And what parameters are accepted?
There should be a documentation...
I have about 20 custom column views and I use 2 of them regularly and want to copy the custom columns of that view.
How can that be done?
For example CCV1 has audio ID (Artist + Title) and CCV2 has image information (Shutter speed, EV, etc.)
What if I want all of the custom columns except filename and extension?
There should be something easier that these parameters.
So I need to count my custom columns before I can copy them, what the heck...
Asus Maximus VIII Hero · Win10 Pro x64
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Re: Copy text of only certain columns
Your button editor is not a internal TC tool, its a 3rd party add-on.Wojtek wrote: 2022-07-19, 16:33 UTC okay, many thanks.
Where can I find those commands?
The ones you mentioned are not present in the "button editor".
Image: http://w-k.bplaced.net/public/greenshot_tc.png
And what parameters are accepted?
There should be a documentation...
The normal TC button config shows this new command.
The parameters are explained in the History.txt
09.03.22 Added: cm_CopyFileDetailsToClip, cm_CopyHdrFileDetailsToClip etc. now accept parameter to copy only specific columns (1=name+ext, 2=first custom, 4=second custom etc.) in normal, comments, and custom columns view. Parameter 1 alone copies full list with headers, for backwards compatibility (32/64)
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Copy text of only certain columns
What? No! It is the internal button editor which I launch from the Main menu:Horst.Epp wrote: 2022-07-19, 17:10 UTC Your button editor is not a internal TC tool, its a 3rd party add-on.
The normal TC button config shows this new command.
Configuration > Button Bar...
Here it is:
Image: http://w-k.bplaced.net/public/greenshot_tc2.png
Asus Maximus VIII Hero · Win10 Pro x64
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Re: Copy text of only certain columns
Sorry your screen shot is not realy showing much.Wojtek wrote: 2022-07-19, 17:25 UTCWhat? No! It is the internal button editor which I launch from the Main menu:Horst.Epp wrote: 2022-07-19, 17:10 UTC Your button editor is not a internal TC tool, its a 3rd party add-on.
The normal TC button config shows this new command.
Configuration > Button Bar...
Here it is:
Image: http://w-k.bplaced.net/public/greenshot_tc2.png
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Copy text of only certain columns
No, that's TC's internal command browser.Horst.Epp wrote: 2022-07-19, 17:10 UTCYour button editor is not a internal TC tool, its a 3rd party add-on.
The command is there (it has been for a very long time), but it doesn't show the parameters.The normal TC button config shows this new command.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Copy text of only certain columns
And the possible parameters are?Dalai wrote: 2022-07-19, 17:28 UTC The command is there (it has been for a very long time), but it doesn't show the parameters.
- 1, 2, 4, 8, ...?
Okay, but what can I do if the number of columns varies?
Asus Maximus VIII Hero · Win10 Pro x64
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Re: Copy text of only certain columns
See Horst.Epp's response above quoting the relevant part from history.txt. The same information can also be found in TC's help when you search for the command name (cm_copyfiledetailstoclip).
No idea. I guess you could try a number higher than what the number of available columns would allow and see if TC just copies what is actually available.Okay, but what can I do if the number of columns varies?
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Copy text of only certain columns
1 parameter that is the sum of the numbers corresponding to the columns you want to include.
You mean you want to specify columns by column names? That's not supported.
Re: Copy text of only certain columns
Not exactly.
I have many column view setups.
Let's say column view "Audio" has 2 columns and column view "Photo" has about 15 columns.
What if I need a button that copies ALL shown columns? (2 in case of audio files and 15 for photos).
Asus Maximus VIII Hero · Win10 Pro x64
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Crucial MX500 1TB SSD · 64GB Corsair Vengeance LPX · nVidia GeForce RTX 3060 · Intel i7 7700K
Lenovo ThinkPad X1 Yoga 2.Gen · Win10 Pro x64
512GB SSD · 16GB RAM · intel HD620 · i7-7600U
TC 11.03 32-bit #347308
Re: Copy text of only certain columns
Without filename and extension?Wojtek wrote: 2022-07-19, 18:17 UTC Let's say column view "Audio" has 2 columns and column view "Photo" has about 15 columns.
What if I need a button that copies ALL shown columns? (2 in case of audio files and 15 for photos).
I guess for 1-15 extra columns that would be:
Code: Select all
CM_COPYFILEDETAILSTOCLIP 65534
Re: Copy text of only certain columns
You simply make a button which shows as drop-down menuWojtek wrote: 2022-07-19, 18:17 UTC Let's say column view "Audio" has 2 columns and column view "Photo" has about 15 columns.
What if I need a button that copies ALL shown columns? (2 in case of audio files and 15 for photos).
and contains your different configs.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Copy text of only certain columns
2Wojtek
When you have the Choose command window open you can press F1 - Then you will get help for all the commands that supports parameters.
When you have the Choose command window open you can press F1 - Then you will get help for all the commands that supports parameters.
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: Copy text of only certain columns
2white
And 2-15 would be CM_COPYFILEDETAILSTOCLIP 32766
65534 would give 2-16
Wouldn't it rather be CM_COPYFILEDETAILSTOCLIP 32767I guess for 1-15 extra columns that would be:
CM_COPYFILEDETAILSTOCLIP 65534
And 2-15 would be CM_COPYFILEDETAILSTOCLIP 32766
65534 would give 2-16
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