IgnoreList by Group

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@HolgerK, Sheesh that's almost ascii ART :-)
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post 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.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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 :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post 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...
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post 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
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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 :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post 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%
	 }
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post 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 ;)
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post 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.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post 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
}
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post 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.
Post Reply