Search results: open a dir under mouse pointer

Here you can propose new features, make suggestions etc.

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1119
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Search results: open a dir under mouse pointer

Post by *DrShark » 2019-01-02, 20:11 UTC

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.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
Gral
Power Member
Power Member
Posts: 697
Joined: 2005-01-26, 15:12 UTC

Re: Search results: open a dir under mouse pointer

Post by *Gral » 2019-01-02, 20:40 UTC

Correct me if I'm wrong, but this is not what CTRL+Arrow does?

User avatar
DrShark
Power Member
Power Member
Posts: 1119
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Search results: open a dir under mouse pointer

Post by *DrShark » 2019-01-02, 21:11 UTC

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).
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
petermad
Power Member
Power Member
Posts: 8139
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Search results: open a dir under mouse pointer

Post by *petermad » 2019-01-03, 02:28 UTC

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

.
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

Post Reply