Why cm_ConfigSaveSettings saves TC position ?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
chandragor
Member
Member
Posts: 118
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Why cm_ConfigSaveSettings saves TC position ?

Post by *chandragor »

I searched around a bit and I didn't find anything about it, so:

Why cm_ConfigSaveSettings saves current TC position and size too ?

I always read that it should do the same as closing TC, and that doesn't save position and size.

You should use cm_ConfigSavePos to save them.

Is it a bug or was it by design ?
Happy owner of license #12422 since 1997
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

IIRC cm_ConfigSavePost was added at a later date, but I'm not sure.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
norfie²
Power Member
Power Member
Posts: 986
Joined: 2006-02-10, 07:27 UTC

Post by *norfie² »

It is by design. cm_ConfigSaveSettings is the same like menu entry "Save Settings".
Total Commander Help wrote:Configuration - Save Settings

With this menu option the current file display settings and directories are saved, even if auto-save is turned off. It also saves the current position and size of Total Commander, and the current tabstops in the file windows. The position is saved separately for each screen resolution.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
chandragor
Member
Member
Posts: 118
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Post by *chandragor »

That's what I feared...

I just needed a way to save panels info like SAVETABS command, even with versions prior 9.0 and without being forced to use user defined commands.

Oh, well. You can't have everything. :(
Happy owner of license #12422 since 1997
Post Reply