# "Smart" Guesses

**URL:** https://community.mp3tag.de/t/smart-guesses/63864
**Category:** Support
**Created:** [February 23, 2024, 3:42pm UTC](https://community.mp3tag.de/t/smart-guesses/63864 "2024-02-23T15:42:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [February 23, 2024, 3:42pm UTC](https://community.mp3tag.de/t/smart-guesses/63864/1 "2024-02-23T15:42:19Z")

</div>

Is there any way to make what I can only call Smart Guesses?

What I would like to do is make a guess based on data present, for example

I have an action which imports data from a text file to a field "BIN" I then use Guess to split that imported data to multiple fields. Lets say my text file reads  
Hello•World•You Suck

My Guess Is: %Title%•%Artist%•%lyrics%

This would successfully place each piece of data where I want HOWEVER. Lets say that the file I run this action on already has lyrics filled in, what I would like to have is a guess like

$IF($NOT(%Lyrics%),%Title%•%Artist%•%lyrics%,%Title%•%Artist%•%Garbage%)

This way I don't need to create two slightly different actions or use a filter & treat only a subset of my files at a time.

Is this possible?

---

<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: [February 23, 2024, 4:29pm UTC](https://community.mp3tag.de/t/smart-guesses/63864/2 "2024-02-23T16:29:54Z")

</div>

> [@mista\_j](#):
>
> Is this possible?

I doubt that this is possible with just 1 action.  
But as actions can be accumulated in an action group and that action group requires just one click, it may be just as convenient.  
I would suggest the following:  
Split the BIN field into parts but don't use the original field name e.g. %my\_Title%•%my\_Artist%•%my\_lyrics%  
Then execute an action of the type "Format value" each for the real target  
Format string: $if2(%title%,%my\_title%)  
and also for ARTIST and lyrics.  
Finally add action of the type "Remove fields" for my\_Title;my\_Artist;my\_lyrics

This would keep any existing data.

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [February 23, 2024, 6:36pm UTC](https://community.mp3tag.de/t/smart-guesses/63864/3 "2024-02-23T18:36:33Z")

</div>

Perfect Solution, Thanks Again

---

<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: [March 24, 2024, 6:36pm UTC](https://community.mp3tag.de/t/smart-guesses/63864/4 "2024-03-24T18:36:49Z")

</div>

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