I have set one of my mouse buttons to F11. This allows me to toggle full-screen for apps that support this.
I have tried key-mapping the TC F11 key to maximize/restore but it will only do one or the other.
Is there a way to map the F11 key to toggle maximize/restore please?
maximize/restore TC
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, not with TC alone. You could suse a scripting tool like AutoHotkey, which would react to the F11 and maximize/restore the active window. This would have the advantage that it would work with other programs too.
The following AutoHotkey script works for me in every window which is in the foreground:
The following AutoHotkey script works for me in every window which is in the foreground:
Code: Select all
F11::
WinGet, maximized, MinMax, A
If (maximized != 0)
WinRestore, A
Else
WinMaximize, A
Return
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Also one can bind F1 to a TCFS2 command line, e.g.:
This will switch between normal and full-screen TC window modes and hide some GUI elements (configurable) in full-screen mode.
Code: Select all
TCFS2.exe /u- fs2