maximize/restore TC

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
darren1234
Junior Member
Junior Member
Posts: 42
Joined: 2017-09-21, 10:35 UTC

maximize/restore TC

Post by *darren1234 »

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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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:

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
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Also one can bind F1 to a TCFS2 command line, e.g.:

Code: Select all

TCFS2.exe /u- fs2
This will switch between normal and full-screen TC window modes and hide some GUI elements (configurable) in full-screen mode.
Post Reply