Page 1 of 2
Internal Associations - one association, different icons
Posted: 2023-05-05, 13:50 UTC
by Gral
Please add possibility to define different icons for different extensions under ONE Internal Association
This has been discussed many times.
Re: Internal Association - different icons
Posted: 2023-05-05, 14:30 UTC
by Hacker
Gral,
Can you link some discussions, please?
Roman
Re: Internal Association - different icons
Posted: 2023-05-05, 14:32 UTC
by Gral
https://www.ghisler.ch/board/viewtopic.php?p=370086 - partially implemented - for commands only.
There was at least another one - can't find right now
Re: Internal Association - different icons
Posted: 2023-05-05, 21:51 UTC
by Hacker
Gral,
Thanks.
Roman
Re: Internal Association - different icons
Posted: 2023-05-06, 08:48 UTC
by Gral
For example, i have something like this in [Associations]
Code: Select all
Filter1=*.aac *.ac3 *.amr *.ape *.flac *.m4a *.mp3 *.ogg *.snd *.voc *.wav *.wma *.wv
Filter1.icon=%1
Filter1_open=WINAMP.EXE "%1"
with the new function it could look like this e.g.
Code: Select all
Filter1=*.aac *.ac3 *.amr *.ape *.flac *.m4a *.mp3 *.ogg *.snd *.voc *.wav *.wma *.wv
Filter1.icon.aac=AAC.ICO
Filter1.icon.ape=APE.ICO
Filter1.icon.mp3=MP3.ICO
Filter1.icon.flac=FLAC.ICO
Filter1_open=WINAMP.EXE "%1"
But this may be implemented even better, shorter way - just new function with new INI section which take precedence for icons if exist
Code: Select all
[Icons]
AAC=AAC.ICO
APE=APE.ICO
MP3=MP3.ICO
FLAC=FLAC.ICO
Re: Internal Association - different icons
Posted: 2023-05-06, 18:18 UTC
by jinsight
Support ++
Re: Internal Association - different icons
Posted: 2023-05-06, 18:21 UTC
by Galizza
Support
Re: Internal Association - different icons
Posted: 2023-05-08, 10:49 UTC
by KozakMak
Support
Re: Internal Association - different icons
Posted: 2023-05-08, 10:59 UTC
by Gral
Re: Internal Associations - one association, different icons
Posted: 2024-10-13, 20:39 UTC
by Gral
There is many new function and improvements regarding icons - why not this one?
Re: Internal Associations - one association, different icons
Posted: 2024-10-13, 22:17 UTC
by Fla$her
Apparently, because the filter can contain other ways of writing mask, as well as templates with regular expressions.
Re: Internal Associations - one association, different icons
Posted: 2024-10-13, 22:48 UTC
by white
Gral wrote: 2024-10-13, 20:39 UTC
There is many new function and improvements regarding icons - why not this one?
The post you referenced mentions:
Stiltzkin wrote: 2010-08-21, 17:24 UTC
is there a way to assign a different icon for every extension with this method?
currently i have every image extension (jpg, gif, png, bmp, etc...) assigned to the same programs with the exception of the icon. the icon is different for every file. but its annoying if i want to change the default program for images.
Since TC version 11.00 you can use internal (custom) commands in internal associations. So you can solve that problem by using the same custom em_ command for several associations. Then you only need to change the custom command to change the program for all the images.
Re: Internal Associations - one association, different icons
Posted: 2024-10-14, 16:11 UTC
by Gral
2 Fla$her, white
You haven't answered any question, you haven't solved any problem. My question is directed solely to the author. Please don't pollute the thread.
TIA.
Re: Internal Association - different icons
Posted: 2024-10-15, 12:10 UTC
by KozakMak
Gral wrote: 2023-05-06, 08:48 UTC
But this may be implemented even better, shorter way - just new function with new INI section which take precedence for icons if exist
Support ++
Re: Internal Associations - one association, different icons
Posted: 2024-10-15, 12:25 UTC
by Fla$her
Gral wrote: 2024-10-14, 16:11 UTC
You haven't answered any question, you haven't solved any problem. My question is directed solely to the author. Please don't pollute the thread.
And I think that I answered the question about the reasons and didn't pollute the thread. Only the author is able to offer a solution. If the question is addressed only to him, you should first specify his nickname. Discussion is not prohibited here, but encouraged. If you disagree with something, it is logical to do it reasonably, and not by asking not to interfere.
If the extensions in the dialog could be in separate positions/controls, then your request would be clear, and I would agree with and approve it. That is, what it could look like: radio buttons that choose how to specify extensions: through a mask/template, as it is now, or by creating new forms for each extension, approximately as it is done on the cm_ConfigViewModeSwitch page.