Page 1 of 1

%1 defaulticon for .ani files too

Posted: Sat Jan 12, 2008 8:55 pm
by ckv
Ico and cur file associations already has the "%1" defaulticon (The files "own icon"). Ani files should also have the %1 defaulticon.

Re: %1 defaulticon for .ani files too

Posted: Sun Jan 13, 2008 8:29 am
by helmut
ckv wrote:Ico and cur file associations already has the "%1" defaulticon (The files "own icon"). Ani files should also have the %1 defaulticon.
Could you/someone explain a bit more what "%1" default icon is meant to be?

Posted: Sun Jan 13, 2008 8:40 am
by XnTriq
Hello Helmut :)

our Finnish compadre is talking about filetypes with icons inside.
Virtual Plastic ([url=http://www.virtualplastic.net/html/icn_file.html]Changing filetype icons[/url]) wrote:Some filetypes really shouldn't have an icon assigned to them, because they have their own icon inside. This particularly is the case with .ico, .cur and .ani files...

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\anifile\DefaultIcon]
@="%1"

Posted: Sun Jan 13, 2008 12:47 pm
by ckv
I was counting on that Pierre would know exactly what I mean. :D

This pic will demonstrate the problem with the curren .ani file association:
Image

Posted: Sun Jan 13, 2008 5:43 pm
by helmut
ckv wrote:I was counting on that Pierre would know exactly what I mean. :D
Thank you for your explanation, ckv. There's some newbie forum users (like me) who don't know about 1% default icons. ;-)

In TC…

Posted: Sun Jan 13, 2008 6:31 pm
by Clo
:arrow: helmut et alter

:) Hello !

• That's a feature I can set in Total Commander for *.ICO, *.CUR and *.ANI files. It needed the following registry stuff :

Code: Select all

REGEDIT4

[-HKEY_CLASSES_ROOT\.ico] 
[HKEY_CLASSES_ROOT\.ico] 
@="icofile" 
"PerceivedType"="image" 
"Content Type"="image/x-icon" 

[HKEY_CLASSES_ROOT\.ico\PersistentHandler] 
@="{098f2470-bae0-11cd-b579-08002b30bfeb}" 

[HKEY_CLASSES_ROOT\.ico\UndoClass] 
@="icofile" 

[HKEY_CLASSES_ROOT\.ico\shellex] 

[HKEY_CLASSES_ROOT\.ico\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}] 


[-HKEY_CLASSES_ROOT\icofile] 
[HKEY_CLASSES_ROOT\icofile] 
@="Ikon" 
"ImageOptionFlags"=dword:00000000 

[HKEY_CLASSES_ROOT\icofile\DefaultIcon] 
@="%1"
• It's really pleasant and useful… One gets something like below :

Image
:mrgreen: G. - KR
Claude
Clo