Script for text in rounded rectangle with image?
Hey guys,
I need help. I have a hundreds of text elements which all need to have the same specifics.
Different text elements have to be in a rounded rectangular box, and always have the same font size and same font - this is easily done with a graphic style - easy. Here's the tricky part: after the copy I need to have an image (preferably vector so svg or eps) after the text. The distance from the last letter to the image must always be the same. The text might change. So think responsive text box fill with added with an image which changes spacing with the length of the text.
I have attached an image to show exactly what I mean. I would love to have an automation/script for it as I have hundreds of text elements. I have tried to do it by myself but scripting is hard and graphic style isn't flexible with spacing and images. Any help or tips would be appreciated. Thanks again!

