Favorites for files

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Favorites for files

Post by *Lefteous »

Currently the directory hotlist can be used to manage folder favorites. What I do quite often is to set a favorite not to a folder but to a file. This means I do the following.

1. Identify the file to be favorited (set the cursor over the file)
2. Copy its name to the clipboard
3. Add the current folder to the directory hotlist
4. Open directory hotlist, select the added item and paste the filename behind the path

My request:
Simplify this process by adding a command 'add current file' to the directory hotlist

I know I can just drag&drop the file to the buttonbar but that's not the place where I want to manage my favorites.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Lefteous,
I know I can just drag&drop the file to the buttonbar but that's not the place where I want to manage my favorites.
Well, even that does not help as that executes the file, it does not place the cursor on it.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

even that does not help as that executes the file, it does not place the cursor on it.
That depends of what kind of file it is - if if for example is a .txt file the curser will just be placed on it, but if it is a .lnk file the link will be opened and if it is a .zip file the file will be opened.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
nsp
Power Member
Power Member
Posts: 1950
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

petermad wrote:
even that does not help as that executes the file, it does not place the cursor on it.
That depends of what kind of file it is - if if for example is a .txt file the curse will just be placed on it, but if it is a .lnk file the link will be opened and if it is a .zip file the file will be opened.
What you can also say Peter is that the directory hotlist is a dedicated menu that can launch any command (with some minor limitation). What is missing is a command that set the cursor on a dedicated file/folder without opening it ;)
The dedicated ui is to just add the current folder to this very special favorite menu. The new command could also be useful elsewhere and make a cosmetic change to how are currently handled the favorites adding the current file on wich you want to navigate.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

petermad,
if for example is a .txt file the curser will just be placed on it
Not confirmed. Here it is opened with the associated editor upon clicking the button bar button.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Hacker
Not confirmed. Here it is opened with the associated editor upon clicking the button bar button.
Sorry, I was talking about using it in the directory hotlist - not the buttonbar.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Hacker
use
cd c:\path\file.ext
instead of just
c:\path\file.ext

in the start menu. This will go to the file inside of TC, and not launch it. However, it will still open archives this way.

2Lefteous
Hmm, the directory hotlist was really meant for directories, not files. Therefore it lacks options like "run maximized" or "parameters". But I could add a menu item which adds
cd c:\path\file.ext
to the directory hotlist. Another option would be to let the user edit the path in Ctrl+D - Add current.
Author of Total Commander
https://www.ghisler.com
sky66
Member
Member
Posts: 176
Joined: 2014-02-22, 08:44 UTC

Post by *sky66 »

ghisler(Author) wrote:2Hacker
use
cd c:\path\file.ext
instead of just
c:\path\file.ext

in the start menu. This will go to the file inside of TC, and not launch it. However, it will still open archives this way.
try to use:
%COMMANDER_PATH%\TOTALCMD64.EXE /o /s /a c:\path\file.ext
or
%COMMANDER_PATH%\TOTALCMD.EXE /o /s /a c:\path\file.ext

it will not open archives.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
Hmm, the directory hotlist was really meant for directories, not files. Therefore it lacks options like "run maximized" or "parameters".
Yes I know the directory menu is about directories. As it already executes all kind of commands I think it's not a big deal to use it also for bookmarking files.
Maybe it could be renamed to something like 'Favorites menu' or 'bookmark menu' or maybe just 'bookmarks'?
But I could add a menu item which adds
cd c:\path\file.ext
to the directory hotlist. Another option would be to let the user edit the path in Ctrl+D - Add current.
I would prefer a menu item.
User avatar
nsp
Power Member
Power Member
Posts: 1950
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ghisler(Author) wrote:2Hacker
use
cd c:\path\file.ext
instead of just
c:\path\file.ext

in the start menu. This will go to the file inside of TC, and not launch it. However, it will still open archives this way.
The main problem here is that no command or parameter with cd allows to only set the cursor
without oppening archive or folder.
Post Reply