This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

maximize/restore TC

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
darren1234
Junior Member
Junior Member


Joined: 21 Sep 2017
Posts: 38

PostPosted: Thu Jul 05, 2018 1:33 am    Post subject: maximize/restore TC Reply with quote

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?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35979
Location: Switzerland

PostPosted: Thu Jul 05, 2018 1:57 am    Post subject: Reply with quote

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:
F11::
WinGet, maximized, MinMax, A
  If (maximized != 0)
    WinRestore, A
  Else
    WinMaximize, A
Return

_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8063
Location: Russian Federation

PostPosted: Thu Jul 05, 2018 5:54 am    Post subject: Reply with quote

Also one can bind F1 to a TCFS2 command line, e.g.:
Code:
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.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group