remove archive icons

English support forum

Moderators: Hacker, petermad, Stefan2, white

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

Post by *Balderstrom »

One of the issues I see with Internal Associations and
Config|Packer| [x] Treat archives like directories is,
there ought to be a distinction between "Return" and CTRL+PgDn in this instance.

If I have set an Internal Association for .RAR, then
1) I should get the proper icon for .rar
2) "return" on a rar file should execute the default association.
3) CTRL+PgDn should open the archive for browsing in TC.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2) "return" on a rar file should execute the default association.
3) CTRL+PgDn should open the archive for browsing in TC.
Support++
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Herr Mann
Power Member
Power Member
Posts: 574
Joined: 2004-05-30, 17:11 UTC
Location: Niedersachsen, Deutschland

Post by *Herr Mann »

Some users are masters of improvisation!
If the boss does not want to change something, then they start to tinker.
(In case of need they use autohotkey in other cases, too.)
It is unbelievable. This all could be so simple, if one would not cling to the old way.
I do not understand why wishes to change to a fashionably and modern design and GUI are so difficult to enforce. :twisted: :evil:

I will not use it, because it want to have a right solution and not a improvisation. Sorry :roll:

PS. My English is bad, I know. :wink:
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@ Herr Mann
I'm not sure how it will play out with how I want TC to handle Rar's, my mainBox is w/o net access atm. So borrowing roomies' laptop. But -- from the looks of what PeterMad has posted - it's not a workaround, it's how things should work, and is solely using existing capabilities. The only problem, really, is that like a number of TC features it requires a little coaxing to get it to work how you want.

The plugin aspect of TC is a boon for sure, but it is also a source of some problems -- When all you want is X to do Y, then you have to wade through multiple plugins that have varied implementations of Y to try and find the one that does what you expect Y to do.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

Balderstrom wrote: If I have set an Internal Association for .RAR, then
1) I should get the proper icon for .rar
2) "return" on a rar file should execute the default association.
3) CTRL+PgDn should open the archive for browsing in TC.
Support++
But with a little addition on 2):
"return" on a rar file should execute the default association.
(except when there is no open command is defined then use internal TC archive browsing)

DR...
#106383 Windows 10 Pro 64-bit
User avatar
Herr Mann
Power Member
Power Member
Posts: 574
Joined: 2004-05-30, 17:11 UTC
Location: Niedersachsen, Deutschland

Post by *Herr Mann »

The only problem, really, is that like a number of TC features it requires a little coaxing to get it to work how you want.
Hello Balderstrom, I do not understand what you mean.
Did I use perhaps impolite words? Unfortunately, I can not express myself so well in english.

But is this internal IconSystem still meaningful?
In time periods oft Windows 3.11/95 was perhaps more meaningful.
Just because of the speed, but today?
In addition, only about 10 Icons affected.
So out with it!
A German proverb says "alte Zöpfe abschneiden" - break with old traditions, habits
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

How about reversing the default setting???

Example:

I have a Internal Association for *.rar and don't want too use the WinRAR icon but the internal TC archive icon.
Filter1=*.rar
Filter1_open=""C:\Program Files\WinRAR\WinRAR.exe" "%1""
Filter1.icon=C:\Program Files\WinRAR\WinRAR.exe,0
At this moment the ",0" parameter at the end of the Filter1.icon line points to the first icon in the WinRAR.exe file.
But what if the ",0" parameter means don't display the icon from the .exe???? (e.g. use the default TC icon)

(The ",1" parameter points to the first icon in the WinRAR.exe)

DR...
#106383 Windows 10 Pro 64-bit
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Open up Internal Associations, Edit your .rar filter, and [Change Icon], to %Commander_Path%\TotalCMD.exe

Or just edit your .ini and replace
Filter1.icon=%Commander_Path%\TOTALCMD.EXE,7

The, 0, means first index just like arrays in C or a number of other langs; and, 1, would be the 2nd icon.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

Balderstrom wrote:Open up Internal Associations, Edit your .rar filter, and [Change Icon], to %Commander_Path%\TotalCMD.exe

Or just edit your .ini and replace
Filter1.icon=%Commander_Path%\TOTALCMD.EXE,7

The, 0, means first index just like arrays in C or a number of other langs; and, 1, would be the 2nd icon.
Thanx, but I know how it works.
I was suggesting a change in the current approch.

I'm trying to understand what motive there is to override some icons.
Hoping this approch will convince the author to change it.

DR...
#106383 Windows 10 Pro 64-bit
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

DarkRuleR wrote:Can we please get an official statement from the Author?
Support++
It would be so simple then!
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Since you can easily change the icon back to the default. There is very little reason for Christian to change it. Nor to make icon index referencing different than every other windows application.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

You dont understand. TC currently uses a different way than other windows applications.

TC replaces the icon of archives with his own one. We just want to overwrite it again with internal associations. (to system default icon)

I dont want to create my own icon file for this.
User avatar
Herr Mann
Power Member
Power Member
Posts: 574
Joined: 2004-05-30, 17:11 UTC
Location: Niedersachsen, Deutschland

Post by *Herr Mann »

Simply remove or switch-off the internal icons does not work, here is still a small problem.
At time the TC replace all Filetypes which associated with a packer-plugin to this BoxIcon.
Therefore they have a certain recognition factor.
Whats happend, if a Filetyp in Windows not associated, but in the TC with a packer-plugin?
Which Icon becomes this Filetyp in the TC in this case, if no windows association exist?
The Standard Icon "white Page with the dog-ear"?
Now we are lost the recognize.
We are not see, that this filetyp associated with a packer-plugin :!:
We need to have separate switch for all Filetypes which turn on/off the internal icon. :?:
User avatar
DarkRuleR
Member
Member
Posts: 190
Joined: 2003-02-20, 22:23 UTC
Location: Netherlands

Post by *DarkRuleR »

I've made a little matrix to discuss the TC override sequence:

Code: Select all

                   | TC Internal | Internal Association | External Iconlib / Pluginlib | Windows Default 
-------------------|-------------|----------------------|------------------------------|------------------------
System Icons       | 2nd         | 1st                  | NA                           | NA
Archive Icons      | 3th         | 1st                  | 2nd                          | NA
Plugin Icons       | 3th         | 2nd                  | 1st                          | NA
Application Icons  | NA          | 1st                  | NA                           | 2nd
Directory Icons    | 4th         | 1st                  | 2nd                          | 3th (using desktop.ini)
Input plz!
:)

DR...
#106383 Windows 10 Pro 64-bit
Post Reply