Page 1 of 1

Don't save the state of Show hidden files

Posted: 2023-08-08, 09:56 UTC
by kennlicht
That's a long missing feature, I guess:

It should be possible to tell TC not to save the state of Show hidden files. I want it to always switch back to not showing them after a restart.
That could be the option

Code: Select all

ShowHiddenSystem = -1
(a negative value!) as in

Code: Select all

QuickSearchAutoFilter

Re: Don't save the state of Show hidden files

Posted: 2023-08-08, 10:32 UTC
by petermad
2kennlicht
Since you have to turn it on in anyway, I suggest the you make a button (or a keyboard shortcut) with the command cm_SwitchHid

Since cm_SwitchHid is a toggle command, the state of showing hidden files will change every time you click the button, and the button will visually show whether the state is enabled or not..

Re: Don't save the state of Show hidden files

Posted: 2023-08-25, 09:20 UTC
by wanderer
petermad wrote: 2023-08-08, 10:32 UTCSince you have to turn it on in anyway, I suggest the you make a button (or a keyboard shortcut) with the command cm_SwitchHid
Yup, that's the way to go, though i support kennlicht's request. I would too have liked this option if it existed (i.e. a new cm_SwitchHidSysSession command, which would toggle SwitchHidSys without saving the new value to the ini).

Re: Don't save the state of Show hidden files

Posted: 2023-08-25, 21:59 UTC
by Fla$her
2kennlicht
This is easily done using the Autorun plugin. It's enough to write at the end of autorun.cfg:

Code: Select all

Pragma AutorunFinalizeSection
IniWrite %COMMANDER_INI% Configuration ShowHiddenSystem 0