How to save 2 or 3 different Window Position?
Moderators: Hacker, petermad, Stefan2, white
How to save 2 or 3 different Window Position?
Is there anyway possible to Save Position and have 2 or 3 different Window configurations to choose between instead of re-sizing every time, depending on what I'm doing at the time?
There's this:
http://www.ghisler.ch/wiki/index.php/Command_line_parameters
or you can (multiple) install TC in 3 different folders, each with its own configuration files.
http://www.ghisler.ch/wiki/index.php/Command_line_parameters
or you can (multiple) install TC in 3 different folders, each with its own configuration files.
Bob P
3-User License 71012
3-User License 71012
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Total Commander 9 will support %COMMANDER_INSTANCE% to allow this via redirected ini sections. Currently you can do it via separate ini files, or try to set an environment variable before starting TC, and then redirect the correct section for the current resolution, e.g.:
[1280x1024 (8x16)]
RedirectSection=c:\totalcmd\wincmd%instance%.ini
[1280x1024 (8x16)]
RedirectSection=c:\totalcmd\wincmd%instance%.ini
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 44
- Joined: 2003-02-07, 19:24 UTC
- Location: Germany
-
- Junior Member
- Posts: 44
- Joined: 2003-02-07, 19:24 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
%COMMANDER_INSTANCE% will contain the number shown in the title bar, or 1 if no number is shown there.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Your solution would mean I would have to start a certain number of TC instances in a certain order in order to get a certain configuration. Sounds really weird - or did I miss something?%COMMANDER_INSTANCE% will contain the number shown in the title bar, or 1 if no number is shown there.
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's correct. He asked whether he could get different positions for different instances, and that's exactly where this would help: First started TC would show up at position 1, second at position 2 etc.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Anyway I guess the way to solve the problem is to have 'Views' which can be saved and loaded. I guess this is already implemented for TC 9.
Having a general solution for different configurations for certain settings is a different story. Having the instance variable shouldn't be the only way. Having a parameter would be one way but there might be other like a overruling settings file.
I can't find the word instance in his post.He asked whether he could get different positions for different instances, and that's exactly where this would help: First started TC would show up at position 1, second at position 2 etc.
Anyway I guess the way to solve the problem is to have 'Views' which can be saved and loaded. I guess this is already implemented for TC 9.
Having a general solution for different configurations for certain settings is a different story. Having the instance variable shouldn't be the only way. Having a parameter would be one way but there might be other like a overruling settings file.
Last edited by Lefteous on 2016-02-12, 09:37 UTC, edited 1 time in total.