Reload when copying custom columns to clipboard

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Reload when copying custom columns to clipboard

Post by *tbeu »

Copying the content of custom columns to clipboard (cm_CopyFpFileDetailsToClip) reloads the panel. In my case getting the content from the files takes a very long time and reloading is actually not necessary. Any idea how to avoid the redundant reload?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is done because
- only the currently visible lines are available
- the plugin data may have changed
- very long plugin values may have been truncated
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

What I do is calling very long calculations on the files using the scriptWDX plugin by activating this custom column. Then I want to copy the column contents to clipboard. Maybe there is a trick of how to avoid the calculations a second time when copying.
Otherwise I can call the script on the files without usage of TC. OK I may think about this option.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try this:
1. Reduce the size of TC until only one line is visible
2. Switch to your special view
3. Select all with Ctrl+A
4. Use cm_CopyFpFileDetailsToClip
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Thanks, Christian, for the workaround. This helps indeed as only one calculation per file is performed.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Post Reply