Search results: open a dir under mouse pointer
Moderators: white, Hacker, petermad, Stefan2
Search results: open a dir under mouse pointer
To find some dir on PC, I often use a search for a name of a file that I'm sure is exists in it or some of it's subfolders.
It's possible to use wdx plugins to find a dir this way, but I think it would be more convenient (and maybe even faster) to do following:
1) search for a file name in Find Files;
2) if we see desired dir name in search resuls, feed them to listbox;
3) put cursor on a path with our dir, move mouse pointer over the name of the dir, press hotkey/button:
the dir under mouse pointer will be opened in opposite panel.
It's possible to use wdx plugins to find a dir this way, but I think it would be more convenient (and maybe even faster) to do following:
1) search for a file name in Find Files;
2) if we see desired dir name in search resuls, feed them to listbox;
3) put cursor on a path with our dir, move mouse pointer over the name of the dir, press hotkey/button:
the dir under mouse pointer will be opened in opposite panel.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Search results: open a dir under mouse pointer
Correct me if I'm wrong, but this is not what CTRL+Arrow does?
Re: Search results: open a dir under mouse pointer
Ctrl+Arrow opens folder in which the file is located, but sometimes I need a some folder few levels above in a path.
As a some alternative to my suggestion I'd accept an addon (script/tool) that will take a path under cursor and a desired dir level number as parameters, and then it will execute cd <drive from path under cursor>:\<path to a level from a number>. For example, we have a path:
d:\dir1\dir2\dir3'\file.ext
under a cursor in search results.
So to open "dir2", I start a script and just enter its level number (e.g. 2 if we take d:\ as level 0).
As a some alternative to my suggestion I'd accept an addon (script/tool) that will take a path under cursor and a desired dir level number as parameters, and then it will execute cd <drive from path under cursor>:\<path to a level from a number>. For example, we have a path:
d:\dir1\dir2\dir3'\file.ext
under a cursor in search results.
So to open "dir2", I start a script and just enter its level number (e.g. 2 if we take d:\ as level 0).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Search results: open a dir under mouse pointer
2DrShark
If you transfer the dir with the file you found to opposite panel with Ctrl+arrow, then afterwards you can use the breadcrumb bar to click on the desired part of the path:
http://madsenworld.dk/tcmd/listbox-breadcrumb.png
.
If you transfer the dir with the file you found to opposite panel with Ctrl+arrow, then afterwards you can use the breadcrumb bar to click on the desired part of the path:
http://madsenworld.dk/tcmd/listbox-breadcrumb.png
.
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
Re: Search results: open a dir under mouse pointer
But BreadCrumb doesn't open current path. Is there a way that BreadCrumb opens in current path (which would be more useful than current root opening)
Re: Search results: open a dir under mouse pointer
2isidro
If you hover the name of the current folder in the location bar, then the breadcrumb menu opens with that folder. If you set the parameter BreadcrumbDelayButton to a negative value the breadcrumb menu opens without you having to click the dropdown button.
Here are my settings for Breadcrumbs - IMHO it works more fluent than the default setings:
If you hover the name of the current folder in the location bar, then the breadcrumb menu opens with that folder. If you set the parameter BreadcrumbDelayButton to a negative value the breadcrumb menu opens without you having to click the dropdown button.
Here are my settings for Breadcrumbs - IMHO it works more fluent than the default setings:
[Configuration]
BreadCrumbMaxWidth=300
BreadcrumbDelayButton=-250
BreadcrumbDelayVirtual=50
BreadcrumbDelayFtp=50
BreadcrumbdelayPlugin=50
BreadcrumbDelayDir=50
BreadcrumbSeparator=0
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
Re: Search results: open a dir under mouse pointer
Why not just use CTRL-PgUp when standing in a specific subfolder - then you jump up one parent folder at a time...
Re: Search results: open a dir under mouse pointer
You can also just use BackCpace for that - but this not what DrShark asks for
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
Re: Search results: open a dir under mouse pointer
It seems there is no internal command command for that action? It would be helpful with automation of whole task.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Search results: open a dir under mouse pointer
Code: Select all
cm_TransferLeft 2024 Transfer dir under cursor to left window
cm_TransferRight 2025 Transfer dir under cursor to right window
A button with command:
cm_TransferRight,cm_FocusTrg would additionally set the focus to the right window.
cm_TransferLeft,cm_FocusTrg would additionally set the focus on the left window.
(See: cm_CommandBrowser … Filter: Focus)
Breadcrumb bar...
Re: Search results: open a dir under mouse pointer
2tuska
Thanks, I filtered for "open" and "target" in a CommandBrowser, that's why I couldn't find it.
2ghisler(Author)
I suggest to add a similar cm_TransferTrg command which will do exactly what Ctrl+(Left OR Right)-Arrow is doing.
Thanks, I filtered for "open" and "target" in a CommandBrowser, that's why I couldn't find it.
2ghisler(Author)
I suggest to add a similar cm_TransferTrg command which will do exactly what Ctrl+(Left OR Right)-Arrow is doing.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Search results: open a dir under mouse pointer
Do you mean something like this?
Code: Select all
cm_TransferLeft 2024 Transfer dir under cursor to left window ) >
cm_TransferRight 2025 Transfer dir under cursor to right window ) + cm_FocusTrg > = cm_TransferTrg
- A button
- An em_command for a shortcut
Re: Search results: open a dir under mouse pointer
2tuska
I'm not sure what exactly an em_ command you suggested should do.
The point of my suggestion for cm_TransferTrg command is:
with left active panel, it should transfer a dir under cursor in left panel to right panel, and
with right panel currently active, it should transfer a dir under cursor in right panel to left panel.
2ghisler(Author)
Returning to a suggestion of click on desired dir in path with mouse.
In active panel with "Search results" or "Branch view", I suggest to show behind "Current directory" a similar address bar with path to a dir or file under cursor. For more convenience, this additional address bar may have breadcrumbs acive by default.
I'm not sure what exactly an em_ command you suggested should do.
The point of my suggestion for cm_TransferTrg command is:
with left active panel, it should transfer a dir under cursor in left panel to right panel, and
with right panel currently active, it should transfer a dir under cursor in right panel to left panel.
2ghisler(Author)
Returning to a suggestion of click on desired dir in path with mouse.
In active panel with "Search results" or "Branch view", I suggest to show behind "Current directory" a similar address bar with path to a dir or file under cursor. For more convenience, this additional address bar may have breadcrumbs acive by default.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Search results: open a dir under mouse pointer
An em_command is only required if you want to redefine a hotkey.DrShark wrote:I'm not sure what exactly an em_ command you suggested should do.
2 commands (cm_TransferLeft, cm_TransferRight) with shortcuts = 2 em_Kommandos required ...
If that would be implemented, then I would be able to save 1 Button + 1 em_Kommando.DrShark wrote:The point of my suggestion for cm_TransferTrg command is:
with left active panel, it should transfer a dir under cursor in left panel to right panel, and
with right panel currently active, it should transfer a dir under cursor in right panel to left panel.
Currently I use 2 buttons and 2 em_commands.