Page 1 of 1

Reload when copying custom columns to clipboard

Posted: 2007-06-04, 12:05 UTC
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?

Posted: 2007-06-04, 19:54 UTC
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

Posted: 2007-06-04, 20:04 UTC
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.

Posted: 2007-06-06, 08:44 UTC
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

Posted: 2007-06-06, 08:55 UTC
by tbeu
Thanks, Christian, for the workaround. This helps indeed as only one calculation per file is performed.