Page 1 of 1

Using shell32 icons in favorite items

Posted: 03 Mar 2023 07:58
by terrytw
Hi all,

New to XYplorer! It is a great tool, I am still fiddling around, but love the functionality!

I have a question that cannot be answered by any previous post, so here I come...

I found that you can use shell32 icons in CTB like this:

Code: Select all

%SystemRoot%\SYSTEM32\shell32.dll /21
I also found that I can use custom ico file or CTB icon in the favorite icon like this

Code: Select all

"Name|path-to-ico"tab("new","path-to-file");
or

Code: Select all

"Name|:CTB-ico-name"tab("new","path-to-file");
But I cannot get the favorite icon to use the shell32.dll.

I have tried

Code: Select all

"Name|%SystemRoot%\SYSTEM32\shell32.dll /21"tab("new","path-to-file");
or

Code: Select all

"Name|'%SystemRoot%\SYSTEM32\shell32.dll /21'"tab("new","path-to-file");
It does not work...

Can someone please help?
Thank you!!

Re: Using shell32 icons in favorite items

Posted: 03 Mar 2023 09:13
by admin
Well, it's simply not supported in that context. I might add that some day though. :)

Re: Using shell32 icons in favorite items

Posted: 03 Mar 2023 09:35
by terrytw
admin wrote: 03 Mar 2023 09:13 Well, it's simply not supported in that context. I might add that some day though. :)
It is good to know, I won't be banging my head against it anymore.

Not a deal breaker by any means though. I will just adapt to it.

Re: Using shell32 icons in favorite items

Posted: 03 Mar 2023 12:43
by admin
It should work in the next beta version (v24.20.0006).

Re: Using shell32 icons in favorite items

Posted: 04 Mar 2023 04:11
by terrytw
admin wrote: 03 Mar 2023 12:43 It should work in the next beta version (v24.20.0006).
Wow that was unexpected! Thank you!

Re: Using shell32 icons in favorite items

Posted: 04 Mar 2023 13:01
by PeterH
terrytw wrote: 04 Mar 2023 04:11 Wow that was unexpected! Thank you!
That's Don. He has a bag full of surprises :party:

Re: Using shell32 icons in favorite items

Posted: 04 Mar 2023 23:29
by jupe
Would it be possible to also enable icon index for CFA if its not too difficult?

Re: Using shell32 icons in favorite items

Posted: 05 Mar 2023 17:34
by admin
Sure, no big deal. :cup: