Hello,

I'm trying to make my variable text change its font size to fit in the box.

I have almost no knowledge of PressTalk, just started to learn it.

I have this little code for variable length text, that starts new line when finds double pipe.
Thing is, that text might be a bit long, so I need to make sure that it fits in the page.
Lets say default font size would be 12, then go down to make sure it all fits.

How can I do that?

Code:
define(&sMyString, string,@(15,1,9999))
search(&sMyString, '||')
beginparagraph(1,6.2,0, 'left',0.095)
 setstyle(&Style1)
 show(&sMyString)
 endparagraph()
 crlf(0.09)
endsearch()
beginparagraph(1,6.2,0, 'left',0.095)
show(&sMyString)
endparagraph()