Comment alert

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aubrey97
Posts: 48
Joined: 22 Jun 2013 11:27

Comment alert

Post by aubrey97 » 16 Feb 2019 20:29

Here is the problem: I have zillions of files and only a few (0.1%) have xyplorer comment tags. The issue is that because comments are rare I usually miss them (unless I search for files with comments which involves a deliberate act). I could show the comments as a column, but that involves a lot a screen real-estate even if I only show the first few letters of the comment. It also doesn't exactly jump out.

What I want is a narrow custom column that shows some sort of alert (like a big red dot or paperclip) if there is a comment. Alternatively I could color highlight the item but that wouldn't work that well as a sole mechanism given other reasons I highlight whole items (labels or custom highlighting for image aspect ratio), but having the alert icon and a colored whole item would be better still.

Any (ideally very fast) script to do?

highend
Posts: 8455
Joined: 06 Feb 2011 00:33

Re: Comment alert

Post by highend » 16 Feb 2019 20:42

Fast enough?

Code: Select all

if (property("#Comment", <cc_item>)) { return ">draw.circle 12, FF0000, 255"; }
Ofc the "Format:" for the custom column needs to be of type "Icon"...
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

aubrey97
Posts: 48
Joined: 22 Jun 2013 11:27

Re: Comment alert

Post by aubrey97 » 16 Feb 2019 21:55

Well that was fast :!: - though I meant speed of script execution. Many thanks!

Post Reply