Update from Clipboard - Action

I am trying to Create an action to read the artisan tag from the clipboard in the following format
Bob Marley - Forces
and update the tag

  • Set the Field to: ARTIST
  • Set the Format string to: $left(%clipboard%,$sub($strstr(%clipboard%,-),1))
    And
  • Set the Field to: TITLE
  • Set the Format string to: $right(%clipboard%,$sub($len(%clipboard%),$add($strstr(%clipboard%,-),1)))

Result is both it overwrites existing values with Blanks and not the value in the clipboard which is
Bob Marley - Forces

Thanks in advance for any help
Des

I have never heard about %clipboard%.
Do you use Mp3tag for Mac?

Or do you fill the CLIPBOARD field first using a separate process with the content of your Windows Clipboard?

Thanks Lyricslover
No i am on Windows 11
I copy Bob Marley - Forces to the clipboard first then run the action

I just tried to copy everything from a previous manual Ctrl + C into a ARTIST field.
But Mp3tag does not accept %clipboard% as valid placeholder.

Where did you find this possibility? Any examples?

I got it from this tread and amended it.

But i must be wrong and %clipboard% as not valid placeholder
So what i am trying to do possible?

Where do you currently see (and manually copy) the above information "Bob Marley - Forces"?
As part of your filename?

If you show us a screenshot from a loaded track in Mp3tag, we can help you better to extract the parts for ARTIST and TITLE.

As the clipboard can currently not be addressed, I would suggest the following:

  • Copy the text to the clipboard
  • Paste it to the field ARTIST
  • Run an action of the type "Guess value"
    Source Format: %artist%
    Target pattern: %artist% - %title%

these are mp3 files that i have that do not have proper filenames or tags so i use a program called MRA which does what Shazzam does and tells you what the track is allows you to copy the information to the clipboard.
I was under the impression that there would be some mechanism to now take that information from the clipboard and paste it into the relevant fields

Not that I know of, sorry.

If you have to do that manually, track by (recognized) track, I also think that @ohrenkino's steps are the best for you.