Change directory menu hotlist: em_cmd should allow params like %A

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Change directory menu hotlist: em_cmd should allow params like %A

Post by *dindog »

i set a em_cd wrapped internal cd to change directory while do some configuration setting using tcfs2, which passes the target path name by %A.
it can simplify to

Code: Select all

cmd=cd
param=%A
So it is called like "em_cd d:\ "
it work in cmdline and button but not hotlist cmd
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: hotlist em_cmd should allow cmdline params

Post by *dindog »

Stefan2 wrote: 2019-10-30, 07:43 UTC Waht is "hotlist"?



 
Directory hotlist (English version tooltip ) = the pop-up menu of Ctrl+D by default.
User avatar
Stefan2
Power Member
Power Member
Posts: 4158
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: hotlist em_cmd should allow cmdline params

Post by *Stefan2 »

dindog wrote: 2019-10-30, 10:42 UTC
Stefan2 wrote: 2019-10-30, 07:43 UTC Waht is "hotlist"?
Directory hotlist (English version tooltip ) = the pop-up menu of Ctrl+D by default.
Thanks for clarifying.
A search in the help for "ctrl+d" shows that this dialog is called "Change directory menu":
help wrote:Dialog box: Change directory menu
The directory menu is invoked with CTRL+D, or a double click on the current path header.



 
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Change directory menu hotlist: em_cmd should allow params like %A

Post by *MVV »

dindog,
Why do you need to call em_cd from hotlist if you can just use cd command there?


Stefan2,
A search in the help for "ctrl+d" shows that this dialog is called "Change directory menu":
Popup is a directory menu (menu item in main TC menu and path header button tooltip show Directory Hotlist), but the dialog for editing hotlist is named Change directory menu.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Change directory menu hotlist: em_cmd should allow params like %A

Post by *petermad »

Why do you need to call em_cd from hotlist if you can just use cd command there?
Maybe because of:
... to change directory while do some configuration setting using tcfs2
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
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Change directory menu hotlist: em_cmd should allow params like %A

Post by *MVV »

My bad, didn't read the middle of the phrase. :oops:
Post Reply