How to create preset filtered views for the panels?
Moderators: white, Hacker, petermad, Stefan2
How to create preset filtered views for the panels?
I would like to create shortcuts for some preset filtered views.
E.g.:
Only display files with a certain extension, or only display files with a modification date within the last 30 minures, etc.
I know how to perform a search using such filters, but I have no clue how I could create preset shortcuts for such filtered views in the panels?
E.g.:
Only display files with a certain extension, or only display files with a modification date within the last 30 minures, etc.
I know how to perform a search using such filters, but I have no clue how I could create preset shortcuts for such filtered views in the panels?
Use saved Search to filter current file list
Use TCs command "CD" with ">" and the name of your saved search, like
CD >mySearchFor_Last30Minutes
-or-
CD >mySearchFor_PDFfiles
More in German language: viewtopic.php?p=336315#336315
CD >mySearchFor_Last30Minutes
-or-
CD >mySearchFor_PDFfiles
More in German language: viewtopic.php?p=336315#336315
I am probably misunderstanding and doing something very wrong.
I have a saved search: 30Mins
If I create a button like this:
Image: https://i.imgur.com/nmN8N2a.png
nothing happens.
(And isn't CD standing for 'change directory'?)
I have a saved search: 30Mins
If I create a button like this:
Image: https://i.imgur.com/nmN8N2a.png
nothing happens.
(And isn't CD standing for 'change directory'?)
- sqa_wizard
- Power Member
- Posts: 3867
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Is not case sensitive for me.sqa_wizard wrote:Works with lower case (seems to be case sensitive)
cd >30Mins
Works fine regardless of upper/lower case.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593)
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
'CD' is at first place the name of an DOS command. But...
hiccup wrote:(And isn't CD standing for 'change directory'?)
That's right, 'CD' is at first place the name of an DOS command.
But since this is here an TC command, the author can let it do what he want.
So if after 'CD' an expected string is found, the app can react in several ways.
But without that trigger it does the same as the DOS command.
Thanks for the solution and your explanation Stefan2.
Sometimes I'm glad Mother Earth suffers from Homo Sapiens
I'm still trying to see if I can filter out folders ('older than 30Mins') too.
Checking 'Attributes' and then unchecking 'Directory' doesn't solve it.
Nor setting something like 'filesize > 1000 bytes'.
I'm running out of creative ideas here, so if somebody has a solution for that too, it's very welcome.
Sometimes I'm glad Mother Earth suffers from Homo Sapiens
I'm still trying to see if I can filter out folders ('older than 30Mins') too.
Checking 'Attributes' and then unchecking 'Directory' doesn't solve it.
Nor setting something like 'filesize > 1000 bytes'.
I'm running out of creative ideas here, so if somebody has a solution for that too, it's very welcome.
Such a search works for files and dirs only when you load it in a search.hiccup wrote:Thanks for the solution and your explanation Stefan2.
Sometimes I'm glad Mother Earth suffers from Homo Sapiens
I'm still trying to see if I can filter out folders ('older than 30Mins') too.
Checking 'Attributes' and then unchecking 'Directory' doesn't solve it.
Nor setting something like 'filesize > 1000 bytes'.
I'm running out of creative ideas here, so if somebody has a solution for that too, it's very welcome.
Using "CD >name" on a button only works for files and not for dirs.
Make a button with LOADSEARCH and your yourname as parameter.
Then press Start search and feed the results to a listbox.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593)
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Its my current knowledge after a few short tests.hiccup wrote:Ok, so if I understand what you are saying, it is not possible to create a shortcut for a filter that will filter out files and folders the same way.
(such as: only display files and folders created in the last 30 minutes)
Just when I started to think that anything could be accomplished with TC
But maybe Christian or one of our forum Gurus has an idea.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593)
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Files and folders modified in the last 30 minutes
When you include the Everything search in TC then you can use TC-parameter ed: or ev: in field: "Search for:"
in "Find Files"-window in TC
-> Commands - Search... Alt+F7 or
-> Commands - Search in separate process... Alt+Shift+F7
to be able to search with parameters of Everything in TC.
Examples:
Search for:
From Everything-Help/Search Syntax: dm:<date> Search for files and folders with the specified date modified.
See also: http://www.voidtools.com/support/everything/searching/
ed:
Search in TC with Everything from current directory - adjustable directory depth! - even if field "Search in:" is empty
and find files and folders according to the examples modified within the last 30 minutes.
ev:
Search for: ev:dm:last30minutes <folder:|file:> name* *name = optional
If ev: is entered in the field "Search for:" then in TC the path and the drives in the field "Search in:" are ignored!
That means, the search is done in all drives with Everything (via TC search mask)
Files and folders modified within the last 30 minutes will be found, e.g. on drive C:, D:, I:,etc.
The Everything-checkbox in TC must then be checked(!)
The Everything-checkbox in TC must always be checked if you want to use Everything parameters.
-----------
Save your searches in "Find Files"-window under tab "Load/Save", e.g. Everything_last30minutes.
If you want to assign a shortcut to a command, you must first create an em_command.
1. Type in: cm_CommandBrowser <ENTER> in command line of TC
2. Click on usercmd.ini (under Category)
3. Click on button "New..." - new command name, e.g.: em_Everything_last30minutes
4. OK, Command: LOADSEARCH Everything_last30minutes ...
5. Tooltip: LOADSEARCH Everything_last30minutes|viewtopic.php?t=49945 ... OK, OK
6. em_command FINISHED
Create a shortcut:
1. Menu "Configuration" - "Options..." - "Misc." - Redefine hotkeys (Keyboard remapping)
2. Choose your hotkey(s) by clicking the appropriate field(s), e.g. F12 - "Default command (no remapping)" is shown then
3. Click on the magnifying glass to the right - click on "usercmd.ini" - choose your em_command: em_Everything_last30minutes - OK
4. IMPORTANT: click on the green checkmark! - OK - FINISHED!
Button: (copy/paste)
Regards
Karl
in "Find Files"-window in TC
-> Commands - Search... Alt+F7 or
-> Commands - Search in separate process... Alt+Shift+F7
to be able to search with parameters of Everything in TC.
Examples:
Search for:
Code: Select all
ed:dm:last30minutes <folder:|file:> name*
ed:d: dm:last30minutes <folder:|file:> (only drive D:\ … search from the directory where you are in TC)
ev:d: dm:last30minutes <folder:|file:> (only drive D:\)
dm:last30minutes file: name*
dm:last30minutes folder: name*
dm:last30minutes file:ext:db name*
*name: optional --> a name (or part of a name) further restricts the search results
See also: http://www.voidtools.com/support/everything/searching/
ed:
Search in TC with Everything from current directory - adjustable directory depth! - even if field "Search in:" is empty
and find files and folders according to the examples modified within the last 30 minutes.
ev:
Search for: ev:dm:last30minutes <folder:|file:> name* *name = optional
If ev: is entered in the field "Search for:" then in TC the path and the drives in the field "Search in:" are ignored!
That means, the search is done in all drives with Everything (via TC search mask)
Files and folders modified within the last 30 minutes will be found, e.g. on drive C:, D:, I:,etc.
The Everything-checkbox in TC must then be checked(!)
The Everything-checkbox in TC must always be checked if you want to use Everything parameters.
-----------
Save your searches in "Find Files"-window under tab "Load/Save", e.g. Everything_last30minutes.
If you want to assign a shortcut to a command, you must first create an em_command.
1. Type in: cm_CommandBrowser <ENTER> in command line of TC
2. Click on usercmd.ini (under Category)
3. Click on button "New..." - new command name, e.g.: em_Everything_last30minutes
4. OK, Command: LOADSEARCH Everything_last30minutes ...
5. Tooltip: LOADSEARCH Everything_last30minutes|viewtopic.php?t=49945 ... OK, OK
6. em_command FINISHED
Create a shortcut:
1. Menu "Configuration" - "Options..." - "Misc." - Redefine hotkeys (Keyboard remapping)
2. Choose your hotkey(s) by clicking the appropriate field(s), e.g. F12 - "Default command (no remapping)" is shown then
3. Click on the magnifying glass to the right - click on "usercmd.ini" - choose your em_command: em_Everything_last30minutes - OK
4. IMPORTANT: click on the green checkmark! - OK - FINISHED!
Button: (copy/paste)
Code: Select all
TOTALCMD#BAR#DATA
LOADSEARCH Everything_last30minutes
wcmicons.dll,22
LOADSEARCH Everything_last30minutes|ev:dm:last30minutes <folder:||file:> |https://ghisler.ch/board/viewtopic.php?t=49945
-1
Karl
2tuska
The problem is that hiccup wants a FILTER not a search. and using the filter >Everything_last30minutes (with Ctrl+F12 or CD) from your example doesn't work.
The problem is that hiccup wants a FILTER not a search. and using the filter >Everything_last30minutes (with Ctrl+F12 or CD) from your example doesn't work.
Last edited by petermad on 2018-05-21, 14:36 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Thats the reason why I didn't said anything about Everything in my answers.petermad wrote:2tuska
The problem is that hiccup wnats a FILTER not a search. and using the filter >Everything_last30minutes (with Ctrl+F12 of CD) from your example doesn't work.
For me its an error that TC filters only work with files.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593)
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64