[TC Tool] Save & Restore Color Settings for TC

English support forum

Moderators: white, Hacker, petermad, Stefan2

outspoken
Junior Member
Junior Member
Posts: 15
Joined: 2003-03-12, 07:14 UTC
Location: Florida, USA
Contact:

Post by *outspoken »

Does my program find the correct ini file?
This was the issue, for the next update you should include text in that area that displays an error when it is red such as "Double-Click here to find .INI"
btw. which OS do u have?
I am using Windows 2000 Pro.

Thanks for the help, this program is great! ;)
Commander Registration #49478
_________________________________
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

--- TC Color Preset 1.2 Released ---
I've updated the information on my first post to include the new link.

Apart from the "Large Font Bug" and the added backup on the first run, there's really nothing new to this version compared to the previous beta.
The included preset file now contains 26 presets.

Enjoy :)
Of all the planets I've been to, this one is my favorite.
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

thanx!
BTW, when i double click application icon in about form MessageBox popups with digit "1".
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

poiuytr wrote:BTW, when i double click application icon in about form MessageBox popups with digit "1".
Funny thing, while working on it, I said to myself: "remember to remove that line before the final compile", guess I forgot that :lol:
Of all the planets I've been to, this one is my favorite.
User avatar
lzvk25
Member
Member
Posts: 183
Joined: 2003-02-09, 04:28 UTC
Location: Collierville, TN

Post by *lzvk25 »

Thank You Aezay !!!
I love it.

:D
Memo to Boss : No TC, No Work
tcmd_rules
Junior Member
Junior Member
Posts: 7
Joined: 2003-12-03, 10:22 UTC

Post by *tcmd_rules »

Aezay, this is a great tool! I have small problem though. When I use the iniPath=%USERPROFILE%/WinCmd.ini line of the Presets.ini file, the program cannot locate the WinCmd.ini file and it opens a browse dialog to locate it. Am I doing something wrong, or variables are not allowed?

Thanks
Dimitrios
User avatar
tombik
Member
Member
Posts: 155
Joined: 2003-02-10, 21:19 UTC
Location: Berlin

Post by *tombik »

"Thank You Aezay !!!
I love it."

Second that.Great tool and a big help for me while modding my desk every day :wink:

Tombik
License # 37884 @ TC 7.56a
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

tcmd_rules wrote:I have small problem though. When I use the iniPath=%USERPROFILE%/WinCmd.ini line of the Presets.ini file, the program cannot locate the WinCmd.ini file and it opens a browse dialog to locate it. Am I doing something wrong, or variables are not allowed?
No, environment variables are not allowed. Why don't you just browse to the path of your WinCmd.ini, and that path is remembered the next time you start the program.
Of all the planets I've been to, this one is my favorite.
tcmd_rules
Junior Member
Junior Member
Posts: 7
Joined: 2003-12-03, 10:22 UTC

Post by *tcmd_rules »

Aezay wrote:
tcmd_rules wrote:I have small problem though. When I use the iniPath=%USERPROFILE%/WinCmd.ini line of the Presets.ini file, the program cannot locate the WinCmd.ini file and it opens a browse dialog to locate it. Am I doing something wrong, or variables are not allowed?
No, environment variables are not allowed. Why don't you just browse to the path of your WinCmd.ini, and that path is remembered the next time you start the program.
Aezay, thanks for replying. Pointing to the right WinCmd.ini file only for the first execution of the program is just fine. The only thing, I believe, is a weekness is that in my PC each user has a different WinCmd.ini stored under %USEPROFILE% and therefore another user's WinCmd.ini might be used.

In any case there are quite a few of solutions to avoid using the wrong ini file. Thanks again for this great tool.

Dimitrios
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try
iniPath=%USERPROFILE%\WinCmd.ini
instead of
iniPath=%USERPROFILE%/WinCmd.ini

Also make sure that the directory is accessible when TC starts, e.g. when it is on a network drive. You may need to call "net use" first.
Author of Total Commander
https://www.ghisler.com
tcmd_rules
Junior Member
Junior Member
Posts: 7
Joined: 2003-12-03, 10:22 UTC

Post by *tcmd_rules »

ghisler(Author) wrote:Try
iniPath=%USERPROFILE%\WinCmd.ini
instead of
iniPath=%USERPROFILE%/WinCmd.ini

Also make sure that the directory is accessible when TC starts, e.g. when it is on a network drive. You may need to call "net use" first.
Unfortunatelly, this didn't work either. The program still requires to use an absolute filename in the iniPath variable. What I would suggest to Aezay, though, it would be to get its value from the appropriate HKCU registry value. Either way, it's a great tool, for a great program.

Thanks for your suggestion,
Dimitrios
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

2tcmd_rules
I'm just gonna throw the string through the ExpandEnvironmentStrings API function, this should make it work :wink:
Look back here when I release the next version.
Of all the planets I've been to, this one is my favorite.
tcmd_rules
Junior Member
Junior Member
Posts: 7
Joined: 2003-12-03, 10:22 UTC

Post by *tcmd_rules »

Aezay wrote:2tcmd_rules
I'm just gonna throw the string through the ExpandEnvironmentStrings API function, this should make it work :wink:
Look back here when I release the next version.
Aezay, thanks a lot for looking at this! :wink:

Dimitrios
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Darko

Post by *Phred »

I was scanning the forum for colour-changing references so that I could establish a night-time 'black' theme - dark, at least - and found this thread.
Unfortunately, all links to alternative plug-ins or ini settings have disappeared.
Only 14 years, and they've gone.. :(
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Unfortunately, all links to alternative plug-ins or ini settings have disappeared.
Take a look at totalcmd.net and search for "preset".
This reveals some color preset tools.
Never tried them though ...

... and don't forget to make a backup of wincmd.ini first :!:
#5767 Personal license
Post Reply