Page 1 of 1
Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 16:10
by Horst
Other file managers allow to show an .. on top of the list of files in a pane
which allows to change into or refer to the parent dir.
I don't find any option to enable this ?
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 16:14
by highend
It doesn't exist.
Best alternative:
Configuration | General | Custom Event Actions
Event: Clicking on White | Double-click on white in file list
Action: Go Up
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 16:49
by RalphM
Or use the breadcrumb bar which would always be conveniently at the top of the list.
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 17:10
by Horst
I'm more interested on the fact that the .. entry also stays for the parent dir.
Having the cursor on such an entry allows commands or scripts to get the path of the parent dir
without any further programing needs.
Thats very convenient as I don't have to go up one level and point the cursor to the previous dir.
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 17:19
by highend
Not sure what you really want.
The breadcrumb bar (not really far away from a theoretical ..) offers a lot of stuff on right-click...
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 17:29
by Horst
highend wrote: ↑04 Feb 2021 17:19
Not sure what you really want.
The breadcrumb bar (not really far away from a theoretical ..) offers a lot of stuff on right-click...
Lets try a simple example how I use .. entry in Total commander and several others:
I have a batch file which invokes an encryption tool with the current item (Cursor position) as parameter
of what should be encrypted.
If the cursor stays on a file in the list this file is encrypted.
If the cursor is on the .. entry the whole current dir (which is the parent dir the .. points to) is encrypted.
I would have the same result if I go-up one level in the tree (by what ever means) and set to cursor to the dir I'm coming from.
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 17:33
by highend
Cursor position = Mouse position -> Item under it?
And how do you invoke that .bat script, by right clicking on the .. (which wouldn't really make much sense regarding the cursor = mouse position)?
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 17:45
by Horst
highend wrote: ↑04 Feb 2021 17:33
Cursor position = Mouse position -> Item under it?
And how do you invoke that .bat script, by right clicking on the .. (which wouldn't really make much sense regarding the cursor = mouse position)?
Yes, Cursor position = Mouse position
I invoke the batch file only with a button on the toolbar.
The button also can directly call the encryption tool, the batch file is only an example.
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 17:52
by highend
Sorry but I don't get it.
If you click a toolbar button the mouse cursor is over the toolbar button. So how do you encrypt a file with that procedure?
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 18:01
by Horst
highend wrote: ↑04 Feb 2021 17:52
Sorry but I don't get it.
If you click a toolbar button the mouse cursor is over the toolbar button. So how do you encrypt a file with that procedure?
Sorry for the confusion.
The cursor stays in the file list of course
With the mouse I click the button on the toolbar or I press its assigned hotkey.
Re: Show .. entry on top of file list in a pane
Posted: 04 Feb 2021 18:21
by highend
Ok, so it's a selected item, it hasn't anything to do with the current mouse cursor position.
I still don't get what this has to do with the .. at the top of some file managers but I guess what you want can easily be scripted (no selection = encrypt current dir, one / more selected items = encrypt them instead). I'm just confused about the .. because in almost all cases it's just a "go one level up", e.g. in SpeedCommander (which I've used before I found XYplorer)...