
My script is like several others I'm sure. I'm trying to have the users create a sample name on a tag and then use the materials they used to put multiple names on the tag.
I'm writing the script in 32 bit PSP2020 and I have Windows 10.
I can't figure out how to get my script to use a pattern in a list of names when users create the sample text with a pattern. It will do the first name but then won't use the pattern in subsequent names in the list.
It gives an error. I'm sure the problem is that the script doesn't know the name of the pattern to use.
My script works great with colors and gradients but when they use a pattern it gives an error after the first name.
I've tried the GetMaterial command but can't seem to get it right..

I just need to know how to let the script know about any pattern used in my "for loop" to finish the names.
Hope someone can help.
Thank you