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

**URL:** https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220
**Category:** Support
**Created:** [January 20, 2025, 2:12pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220 "2025-01-20T14:12:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Fisher](https://community.mp3tag.de/user_avatar/community.mp3tag.de/fisher/32/18709_2.png) [@Fisher](https://community.mp3tag.de/u/Fisher)
#### Post date: [January 20, 2025, 2:12pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220/1 "2025-01-20T14:12:14Z")

</div>

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 "✔"

can anyone help me? thank you!

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 20, 2025, 2:16pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220/2 "2025-01-20T14:16:28Z")

</div>

> [@Fisher](#):
>
> Value: `$if(%_cover_height% GREATER 1000 AND %_cover_width% GREATER 1000,✔,)`

This no scripting syntax.  
See the documentation:

> **[Scripting Functions – Mp3tag Documentation](https://docs.mp3tag.de/scripting/#boolean-functions)**
>
> Documentation on Mp3tag's scripting functions. Mp3tag is the universal Tag Editor.

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

---

<div class="post-metadata">

### Author: ![Fisher](https://community.mp3tag.de/user_avatar/community.mp3tag.de/fisher/32/18709_2.png) [@Fisher](https://community.mp3tag.de/u/Fisher)
#### Post date: [January 20, 2025, 2:24pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220/3 "2025-01-20T14:24:45Z")

</div>

I got it, thank you!

I modified my script to work correctly:

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

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [January 20, 2025, 2:40pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220/4 "2025-01-20T14:40:28Z")

</div>

Do I understand your script correctly?  
It displays a ✔ 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?

---

<div class="post-metadata">

### Author: ![Fisher](https://community.mp3tag.de/user_avatar/community.mp3tag.de/fisher/32/18709_2.png) [@Fisher](https://community.mp3tag.de/u/Fisher)
#### Post date: [January 20, 2025, 4:11pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220/5 "2025-01-20T16:11:57Z")

</div>

yes, you are correct

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 19, 2025, 4:12pm UTC](https://community.mp3tag.de/t/i-create-a-column-using-a-script-but-it-dosent-work/67220/6 "2025-02-19T16:12:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
