Save Search Results to Clipboard

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
AlanC
Junior Member
Junior Member
Posts: 11
Joined: 2014-03-21, 15:14 UTC

Save Search Results to Clipboard

Post by *AlanC »

The search feature is very comprehensive. Yet many times I'll like to work with the list of files it returns. If I search within ZIP files, then Feed-to-List-Box is not available. So there is no way to preserve the results, (other than a screen shot). It would be nice to simply be able to copy the search results listbox to the clipboard and take it from there. :D
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, AlanC.

Are your sure that what you suggest as a future feature is not already possible?

I just tried this:
  • went to a folder holding 3 .7z archive files.
  • pressed <Alt><F7>.
    Search for: places.sqlite (irrelevant, but I knew they were in the archives)
    Ticked [X] Search archives.
    Clicked [Start Search]
  • T.C. found 3 hits, 1 in each archive file.
  • Mark any of the filenames and press <Ctrl>C. - No visual or accoustic feedback!
  • Opened a text editor and pressed <Ctrl>V.
  • Now have a look at the list I found in my editor:

    Code: Select all

    Z:\host\Data\Backup\Daten\Windows\Firefox\Firefox_places.7z/places.sqlite
    Z:\host\Data\Backup\Daten\Windows\Firefox\Firefox_Places_karl.7z/places.sqlite
    Z:\host\Data\Backup\Daten\Windows\Firefox\Firefox_Places_Ubuntu.7z/places.sqlite
Is this what you have in mind?

Total Commander 8.51ß3 32-bit + 64-bit on
Windows Server 2008 R2 SP1 64-bit

Kind regards,
Karl
--
Note:
Steps corrected. Do not [feed to listbox] the results found in archives before pressing <Ctrl>C.
Last edited by karlchen on 2014-03-21, 16:22 UTC, edited 3 times in total.
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

If I search within ZIP files, then Feed-to-List-Box is not available.
Not Confirmed! What version of TC do you use????

http://ge.tt/4FGxSMS1?c

Second picture is the result of pressing key "Feed to ListBox "
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Ovg. Hi, AlanC.

Could it be the functionality is unreliable?
Try as I may, my own steps applied to real .ZIP files (not .7z like in my first example) refuse to work.
The clipboard remains empty.

---

No, it answer different from that:

Search results inside archives => Do not [Feed to listbox]
But simply click on any filename in the search result list.
Press <Ctrl>C. - No visiual feedback given!
Open editor, paste clipboard content in it by pressing <Ctrl>V.
There you are!

---
Works for .ZIP archives as well as .7Z archives.
---

Will correct the steps in my previous post accordingly.

Karl
--
P.S.:
Ovg, cannot view the screenshots right now. Our proxy blocks anything it considers a filesharing platform. :-(
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

Hi!

I have try you way. C+A / C-C doesn't work. But C+A and cm_CopyNamesToClip at least works
Last edited by Ovg on 2014-03-21, 16:42 UTC, edited 1 time in total.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Ovg.

By the time you replied I had already corrected my initial steps:
Inside the search result box, pressing <Ctrl>C will copy all search result names into the clipboard.
Tested it several times.
It works.
No matter whether the search included or excluded archive files.

Cheers,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

There is enough to press CTRL+C on search results. No need to press CTRL+A.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2karlchen
2Gral

I have just tested. You are both right! It is working. But "Feed to Listbox" is working, too.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

The T.C. help on the the search dialogue holds the appropriate explanation:
[quote="Totalcmd.chm - Section "Find files: General""]<Result list> Shows a list of all files found in the current search operation. The details (date, time, size) are shown in the footer because of the limited space. Double click on a file to go to the directory where it is located. To copy the whole file list to the clipboard, click in this window and press Ctrl+C.[/quote]

About [feed to listbox] and copying the list from there:

<Ctrl>A plus <Ctrl>C inside the [feed to listbox] list will only have the desired effect in case the found files are all located in regular folders, but not in case the results have been found inside an archive.
(This was the reason why I had to correct my initial reply.)

Cheers,
Karl
Last edited by karlchen on 2014-03-21, 16:55 UTC, edited 1 time in total.
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
AlanC
Junior Member
Junior Member
Posts: 11
Joined: 2014-03-21, 15:14 UTC

Post by *AlanC »

Yes, the above steps seem to work in 8.50. It's still just a little confusing that only one of the items is highlighted, but all are copied. Thanks to all that jumped in on this.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2karlchen
Thank you for useful info!
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Post Reply