Page 1 of 1

Removing entries from file listboxes

Posted: 2016-11-10, 08:47 UTC
by browny
That mostly refers to listbox created with File Find, but also might be useful in Synchronize directories too (though there might be workarounds in Sync tool).

Not to delete file(s), but just shorten the list and keep only the necessary files for further inspection and other actions.

Posted: 2016-11-10, 16:09 UTC
by ghisler(Author)
This already exists: Menu "Show" - "Only selected files".

For example, to show just the files with the same name (but different extensions) as the one under the cursor, use:
cm_SelectCurrentName,cm_ShowOnlySelected,cm_ClearAll

Posted: 2016-11-10, 22:26 UTC
by sqa_wizard
This already exists: Menu "Show" - "Only selected files".
Well, the problem is not with the file list, but with the list of recently used entries.
There is no simple way to remove single entries from the list like e.g. "Synchronize Directories"

Code: Select all

*.*
*.*|temp\
*.mp?|*.mpg   <-- remove just this
*.jpg
At Outlook you may remove a recently used address using Ctrl-Del from the list.

Posted: 2016-11-11, 08:16 UTC
by browny
ghisler(Author) wrote:This already exists: Menu "Show" - "Only selected files".

For example, to show just the files with the same name (but different extensions) as the one under the cursor, use:
cm_SelectCurrentName,cm_ShowOnlySelected,cm_ClearAll
The scenario was different, it was not a one-time operation.
For example, reviewing extensive code changes in many files.
Using consequtive searches on listbox it was possible to reduce the number of files to inspect.
Then inevitably comes manual stage.
If the file is irrelevant or necessary changes were made in the target, then the best action would be to remove the file from the list and go to the next entry. Otherwise the file might be left for further investigations.

Yes, it would be possible to select all + deselect the file(s) + show only selected + unselect all.
But it might be beneficial to have a context menu entry (and maybe even Ctrl+Del shortcut, which seems to be unused now).

The same could be said about Sync tool.