Creating several buttons with Hotlists

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
g200
Junior Member
Junior Member
Posts: 32
Joined: 2015-10-08, 15:18 UTC

Creating several buttons with Hotlists

Post by *g200 »

I would like to know
How would one create several buttons with Hotlists?

The Hotlist function and the sub-menus are very helpful. But when the list in the sub-menu reaches over 10 items, I started looking for a separate hotlist button.
For example, I would like to organize downloaded files pdf, doc, mp4, etc. I also need another Hotlist for my pictures from the phone, and I have to sort them in folders on different drives.
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Creating several buttons with Hotlists

Post by *Stefan2 »

You can't make different Hotlists (Ctrl+D)

But one other way would be:

- You can create new ButtonBar files
- Such *.bar file you can launch/open from an button
- Also you can set the checkmark to open the *bar as drop-down menu

Right click on any button and choose "Change..." to read more.

Also next click there the [Help]-button:
Commands: 3. You can make a button to change directories, by specifying cd directory name as the command.

So you can make several own buttons with each an own cd command (CD is here an internal TC-command)


If you are familiar with AutoHotkey, you can use an AHK-script with an INI as config file, where you can just add paths as plain text.
See TotalcmdWiki -> AutoHotkey -> Popup menu for button bar or F4
https://www.ghisler.ch/wiki/index.php?title=AutoHotkey:_Popup_menu_for_button_bar_or_F4



 
g200
Junior Member
Junior Member
Posts: 32
Joined: 2015-10-08, 15:18 UTC

Re: Creating several buttons with Hotlists

Post by *g200 »

Hi Stefan,
thank you for the reply!

I am not familiar with these operations. Would you give me a link where to see how to
- You can create new ButtonBar files
- Such *.bar file you can launch/open from an button
- Also you can set the checkmark to open the *bar as drop-down menu

Thanks
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Creating several buttons with Hotlists

Post by *Stefan2 »

g200 wrote: 2021-08-14, 09:59 UTC
I am not familiar with these operations.


Right click on the button bar at the top and select "Change..."
(or utilize “Configuration > Button bar…”)


In the "Change button bar" dialog,
- click "Add", to add a new button for not to change the last button.

- fill in the properties to create a new button.
Command: CD "C:\Temp"
Parameters:
Start path:
Icon file: WCMICONS.DLL
Tooltip: your text - CD "C:\Temp"

Click [Help] to read more.
Commands: 3. You can make a button to change directories, by specifying cd directory name as the command.

In "C:\Temp" use Alt-key+ArrowDown to use the DirHistory for to go back to the last directory.


OR


- [Change>>] > [Add Subbar>>] > browse to TC-folder > select an already existent *.bar file, or type in a name for a new file.
- a new dialog will open and show the content of the chosen *.bar file (on TC10 and with a new *.bar file, there is now already an button for to go back to the bar you have started from)

- manipulate now that bar, ... as above, click "Add" to add a new button, click [Help] to read more.
Command: Notepad
Parameters: %P%N
Start path:
Icon file: Notepad or WCMICONS.DLL
Tooltip: your text - open notepad with file under cursor
[OK]
[OK]

Now you have a new button, pointing to another bar file.
Click on it.
You will switch to that new bar. There is already an icon to go back to the last bar you came from.
Use that icon for to go back.
Modify the new bar. (Right click on the button and select "Change...")
Check "[x]Show as menu"
[OK]
Try the button again.


That *.bar file is a plain text file and can be open with F4 (Edit) and manipulated by hand.


More to read behind my unofficial FAQs and the wiki
g200
Junior Member
Junior Member
Posts: 32
Joined: 2015-10-08, 15:18 UTC

Re: Creating several buttons with Hotlists

Post by *g200 »

Thank you Stefan for explaining to me how to make a new button and submenu.
Thank you for your time!
Post Reply