Page 2 of 2

Posted: 2009-07-09, 20:13 UTC
by Balderstrom
@HolgerK, Sheesh that's almost ascii ART :-)

Posted: 2009-07-09, 21:26 UTC
by fenix_productions
2HolgerK
Please, anything but not tabs!

They are very bad idea when it comes to windows with such limited width as Configuration dialogue has. People prone to overuse tabs and have either multiple lines or most of them hidden.

I think that current solution could be kept but with INI editing (like described by you) made by a hand. After all: such feature could be used by advanced users who don't mind to open wincmd.ini.

Posted: 2009-07-09, 21:59 UTC
by Balderstrom
@ FenixP ... You're not thinking outside the box - Vertical Tabs could work very well. That's actuall how I use Opera, Page Tabs on the Left.

Posted: 2009-07-09, 22:11 UTC
by fenix_productions
2Balderstrom
Outside the box? There are no vertical tabs on HolgerK's drawings. Putting this aside: with such solution you could have something like 3 lists one next to another. On my screen Configuration dialogue is about 560px wide. It's to small for that.

On the other hand: it would be too complicated (and simply ugly) for too many users.

I will stay with "playing with INI" idea for a while :)

Posted: 2009-07-09, 22:17 UTC
by Balderstrom
I know, I was saying Vertical Tabs instead of Horizontal would work. Each Tab being one of the ignoreList files. And still plenty of space to actually display the contents of the file in an editable text box - like it is now.
The Arrow Left/Right on his design would just be arrow up/down...

Posted: 2009-07-09, 22:52 UTC
by HolgerK
fenix_productions wrote:2HolgerK
Please, anything but not tabs!
Okay.
Do you like drop-down lists?

Code: Select all

[*List1_____[v]]
| List2        |
|*List3        |
|_List4________|
Or maybe a combo box with the ability to rename "ListX" to something more meaningful?

Code: Select all

IgnoreList1Name="System files"
IgnoreList2Name="SVN stuff"
IgnoreList3Name="Temporary files"
IgnoreList4Name="Exclude from backup"
:P
Holger

Posted: 2009-07-09, 22:56 UTC
by fenix_productions
I was bored and created this:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/IgnoreListSwitch.zip

This small tool allows to switch between different ignore lists.

Usage:

For each list create separate button (or em_ command) with path to ignore list file as parameter.

I.e.

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\tools\IgnoreListSwitch\IgnoreListSwitch.exe
%%COMMANDER_PATH%%\logs\ignore.txt
%COMMANDER_PATH%\tools\IgnoreListSwitch.exe
IgnoreListSwitch
%COMMANDER_PATH%\tools\IgnoreListSwitch\

-1
More info in readme.txt :)

Posted: 2009-07-09, 23:07 UTC
by Balderstrom
I think this:

Code: Select all

     EnvGet, COMMANDER_PATH, %COMMANDER_PATH%
	 IniFile = %COMMANDER_PATH%\wincmd.ini
Should be:

Code: Select all

     EnvGet, COMMANDER_INI, %COMMANDER_INI%
	 IniFile = %COMMANDER_INI%
Though am not sure if this needs to change with the above modified?

Code: Select all

     if (Redirect)
	 {
	      IniFile = %Redirect%
	      StringReplace, IniFile, IniFile, `%COMMANDER_PATH`%, %COMMANDER_PATH%
	 }

Posted: 2009-07-09, 23:23 UTC
by fenix_productions
2Balderstrom
You're right. Fixed as much as I could ;)

%COMMANDER_INI% gives you full file name and not a path so I don't think it is needed to change that for RedirectSection key.

P.S. This tool does not cover all redirection possibilities (it skips AlternateUserIni). After all it is almost copy/paste from the past.

Posted: 2009-08-17, 04:58 UTC
by Balderstrom
So I notice, everytime I come up with an "interesting" question, Fenix creates a tool. Apparently I haven't had any interesting questions lately ;)

Posted: 2009-10-26, 17:39 UTC
by fenix_productions
Small update:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/IgnoreListSwitch2.zip

One user discovered problems with it when no RedirectSection was available.

Posted: 2009-11-03, 16:23 UTC
by Balderstrom
Here's the code I use for my various functions that need to access the wincmd.ini and related (possible redirects)

Code: Select all

CheckTCRedirect( iniSection )
{
	wincmd = %COMMANDER_INI%
	iniRead, iniRedirect, %wincmd%, %iniSection%, RedirectSection, %wincmd%
	SplitPath, iniRedirect, iniFile, iniPath
	if( !iniPath )
		SplitPath, wincmd, tmpFile, iniPath
return iniPath . "\" . iniFile 
}

TC_iniRead( iniSection, iniKey )
{
	iniFile := CheckTCRedirect( iniSection )
	IniRead, keyValue, %iniFile%, %iniSection%, %iniKey%, %A_Space%
return keyValue
}

Posted: 2011-11-17, 18:14 UTC
by Balderstrom
Well I seen this thread mentioned by HolgerK, and we're now in the beta for TC 8 (and 2 years later). T'would be nice if Mr.Ghisler would consider IgnoreList groups going forward.