I create a column using a script, but it dosen't work

I create a column to show the tracks with clear cover image, but the script doesn't work.

  • Name: Clear Cover
  • Value: $if(%_cover_height% GREATER 1000 AND %_cover_width% GREATER 1000,✔,)
  • Field:
  • Sort by:

the tracks whose cover doesn't match the script still got a ":heavy_check_mark:"

can anyone help me? thank you!

This no scripting syntax.
See the documentation:

functions are named $if($grtr(... or $ifgreater(... and AND has to be addressed with $and

I got it, thank you!

I modified my script to work correctly:

  • Value: $if($and($grtr(%_cover_height%,1000),$grtr(%_cover_width%,1000)),✔,)

Do I understand your script correctly?
It displays a :heavy_check_mark: in a column if BOTH the width AND the height are greater than 1000?
If only 1 of them is greater or none of them is greater, nothing is displayed in the column?

yes, you are correct