I want to see the context menu of the current folder.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

I want to see the context menu of the current folder.

Post by *aksmfakt132 »

I would like to see the context menu of the current folder
The way to view the context menu of the currently selected file is 'cm_ContextMenu'

However, I do not know how to view the context menu of the folder I am currently in
How do you do it?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: I want to see the context menu of the current folder.

Post by *ghisler(Author) »

You can press Shift+F10 or the special context menu key available on most modern keyboards, or right click on the folder for about half a second.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: I want to see the context menu of the current folder.

Post by *Hacker »

aksmfakt132,

Code: Select all

cm_GoToParent, cm_ContextMenu
HTH
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
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: I want to see the context menu of the current folder.

Post by *HolgerK »

short right click on the path bar above the file panel.

HTH
Holger
Make our planet great again
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

Re: I want to see the context menu of the current folder.

Post by *aksmfakt132 »

ghisler(Author) wrote: 2018-07-22, 10:44 UTC You can press Shift+F10 or the special context menu key available on most modern keyboards, or right click on the folder for about half a second.
what are you talking about
I want to see the context menu of the folder that I belong to

I was watching an animal photo file in a folder named animal,
I want to know how to display the context menu of the animal folder when I press a shortcut
Without using the mouse
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

Re: I want to see the context menu of the current folder.

Post by *aksmfakt132 »

HolgerK wrote: 2018-07-22, 11:05 UTC short right click on the path bar above the file panel.

HTH
Holger
Yes
But I do not want to use the mouse.
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

Re: I want to see the context menu of the current folder.

Post by *aksmfakt132 »

Hacker wrote: 2018-07-22, 10:52 UTC aksmfakt132,

Code: Select all

cm_GoToParent, cm_ContextMenu
HTH
Roman
But this behavior leaves current folder.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: I want to see the context menu of the current folder.

Post by *HolgerK »

Your question was:
How do you do it?
But I do not want to use the mouse.
<Home> <Shift+F10>

better?

Regards
Holger
Make our planet great again
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

Re: I want to see the context menu of the current folder.

Post by *aksmfakt132 »

HolgerK wrote: 2018-07-22, 13:48 UTC Your question was:
How do you do it?
But I do not want to use the mouse.
<Home> <Shift+F10>

better?

Regards
Holger
OK It was better
however I want one typing
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: I want to see the context menu of the current folder.

Post by *HolgerK »

aksmfakt132 wrote: 2018-07-22, 14:49 UTC
full quote
HolgerK wrote: 2018-07-22, 13:48 UTC Your question was:
How do you do it?
But I do not want to use the mouse.
<Home> <Shift+F10>

better?

Regards
Holger
OK It was better
however I want one typing
https://autohotkey.com/docs/Hotkeys.htm
https://autohotkey.com/docs/commands/Send.htm

Code: Select all

#IfWinActive, ahk_class TTOTAL_CMD
#+F10::Send {Home}+{F10}
maps <Shift+Win+F10> to the key sequence <Home>, <Shift+F10>.

Regards
Holger
Last edited by HolgerK on 2018-07-22, 19:30 UTC, edited 3 times in total.
Make our planet great again
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: I want to see the context menu of the current folder.

Post by *Hacker »

Doesn't need the #Persistent.

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
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: I want to see the context menu of the current folder.

Post by *HolgerK »

Thanks.
Removed (code sample seems to be not really so persistent;-)

Holger
Make our planet great again
User avatar
petermad
Power Member
Power Member
Posts: 16121
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: I want to see the context menu of the current folder.

Post by *petermad »

2aksmfakt132
A solution without AutoHotkey:

Make these two commands in your usercmd.ini file:

Code: Select all

[em_homedir]
cmd=%COMMANDER_EXE% /O
param="%P."

[em_homedircontextmenu]
cmd=em_homedir,cm_wait 200,cm_ContextMenu
Assign a hotkey to em_homedircontextmenu for example:

Code: Select all

[Shortcuts]
F11=em_homedircontextmenu
You can now press F11 to get the context menu for the current dir.
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
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

Re: I want to see the context menu of the current folder.

Post by *aksmfakt132 »

petermad wrote: 2018-07-22, 22:17 UTC 2aksmfakt132
A solution without AutoHotkey:

Make these two commands in your usercmd.ini file:

Code: Select all

[em_homedir]
cmd=%COMMANDER_EXE% /O
param="%P."

[em_homedircontextmenu]
cmd=em_homedir,cm_wait 200,cm_ContextMenu
Assign a hotkey to em_homedircontextmenu for example:

Code: Select all

[Shortcuts]
F11=em_homedircontextmenu
You can now press F11 to get the context menu for the current dir.
I did the work.
However, when I pressed the shortcut key, the following window appeared

Not implemented
em_homedircontextmenu
User avatar
petermad
Power Member
Power Member
Posts: 16121
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: I want to see the context menu of the current folder.

Post by *petermad »

Maybe you are not using the correct usercmd.ini file.

Try and use the command browser to make the two commands:
1. Run cm_CommandBrowser
2. Sroll down in the Category column and select usercmd.ini
3. Click the "New" button and create the em_homedir command
4. Click the "New" button again and create the em_homedircontextmenu command
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
Post Reply