A script for adapting text to frame
Hi all,
We are using InDesignCC for creating PDF files online.
This hapens with XML output. And on demand our customers can put variabel fields in en can generate a pdf to view the results.
Online it looks something like this:

This is the problem:
A textbox in InDesign have a fixed length. But the customers can give in a large text for this field. Larger than the tekstbox it self.
Now, default, InDesign sets the given text on to 2 lines.
Is there a script to be attached on a textbox that horizontaly scales the text to fit the textbox?
I hope someone can help.
thx
