Custom Icon across all drives

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
CookieMonster

Custom Icon across all drives

Post by CookieMonster »

How do I assign a custom icon to all photoshop files on any drive ?

Code: Select all

psd;{:Image}Ps.ico

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

Code: Select all

*.psd;{:Image}>Ps.ico
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

Thanks.
Except other image formats have the custom photoshop icon in the bottom corner; how can I exclude all other image formats from displaying the custom icon ?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

You can either be more specific (do not use {:Images}) on the same line
or you can use specific formats above that line (first match = first serve)
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

or you can use specific formats above that line (first match = first serve)
Sorry, I don't understand ?

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

Can you add custom icons to files with specific metadata as in bit depth ?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

Sorry, I don't understand ?
The first entry that matches is taken. So when you create a more specific line above a more generic one
the specific entry takes precedence
Can you add custom icons to files with specific metadata as in bit depth ?
Not possible. But you could use a custom column with "Format: Icon". But ofc this would
be only an additional icon...
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

The first entry that matches is taken. So when you create a more specific line above a more generic one
the specific entry takes precedence
Sorry, how do you create a more specific line above the other line; when custom file icons only accepts one line ?
Not possible. But you could use a custom column with "Format: Icon". But ofc this would
be only an additional icon...
With a custom column you can assign a custom icon to only those files with specific metadata; Odd why you'd need a custom column to assign a custom icon to a file !

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

when custom file icons only accepts one line ?
Huh?

As you can see, the more specific and with higher priority created .png line is used.
Both png and jpeg are in {:Image}!
pfi.png
pfi.png (28.99 KiB) Viewed 1610 times
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

@highend - I understand, what you meant with regards to custom icons.

And so my understanding of custom icons with specific metadata is correct as in my previous reply ?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

What understanding? All possible matches are solely done via path / file / extension,
no internal properties. You are free to create a wish posting in the appropriate
part of the forum.
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

You mentioned:
Not possible. But you could use a custom column with "Format: Icon". But ofc this would
be only an additional icon...
I mentioned, specifically the first sentence.
With a custom column you can assign a custom icon to only those files with specific metadata ?
I assume the icon shows in the custom column and this is all listed in the docs ?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

I assume the icon shows in the custom column and this is all listed in the docs
Sure
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Custom Icon across all drives

Post by CookieMonster »

From what I searched in the docs, I couldn't find anything related to adding a custom icon to a column; bit depth. Although that will still display a thumbnail of the image format, which I was hoping to override with a custom icon.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Icon across all drives

Post by highend »

Because you need to put the stuff together. There can't be: Oh, but now I need for some other
property than bit depth.

We have dozens of custom column script here in the forum and the script command property()
can get the bit depth for a <cc_item> (the variable that needs to be used in the cc script).

The script command return "<icon name>";
puts the icon in the column as long as
"Format: Icon" is used when the custom column is set up...
One of my scripts helped you out? Please donate via Paypal

Post Reply