Multi-icon source

Features wanted...
Post Reply
binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Multi-icon source

Post by binocular222 »

Menu caption and CFI should support something like:
"Test|C:\windows\system32\shell32.dll(3)"
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Multi-icon source

Post by admin »

Would be too slow.

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Multi-icon source

Post by binocular222 »

Slow? I thought it's the standard way to get icon, so it must be an easy-and-fast way.

I install 2 OS and whenever I switch between XP-Win7, icons in <xyicons> differ so much from shell32.dll
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Multi-icon source

Post by admin »

There are tools to extract ICO files from a DLL. You could do that...

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Multi-icon source

Post by binocular222 »

but how to assign NotepadXP.ico to menu1 if you're in XP and Notepad7.ico if you're in Win7?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Multi-icon source

Post by admin »

Difficult since the idea of the portable icons is exactly the opposite: Have the same ions everywhere.

Maybe this helps?

Code: Select all

v12.30.0209 - 2013-04-24 11:11
    + Tweak to overwrite the default icons path (<xydata>\Icons\, and
      <xyicons>). The value can be absolute or portable/relative to app 
      path. For example,
        [Settings]
        IconsPath=Icons
      will resolve to K:\XY\Icons\ if XYplorer.exe is located in K:\XY\.
      That way you can also centralize the icons pool in a team context, 
      but make sure that the server is available else startup will slow 
      down and no cute icons.

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: Multi-icon source

Post by binocular222 »

uhm, acceptable workaround :) .
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

cslevine
Posts: 62
Joined: 15 May 2013 12:26

Re: Multi-icon source

Post by cslevine »

There are tools to extract ICO files from a DLL. You could do that
i did that and this is the best to do, because - even i 'm still using XP... yes... - future time is coming so that
big video / music softwares will work only on Seven, Huit, Nine, or Windows Ten ( 100 To SSD for Windows 10 + 50 Go for having backward ergonomies... )
Having real .ico files is the best way to be sure to see the same icons i want to see, even in 10 / 20 years.
if i want to change my mind, I control that. Not Smalllimp...
( oops... Microsoft )

Post Reply