Hi Try this, I think this helps
//Select your text frame and execute this script
//you can loop through all your textframes to select it
var frame_overflow =app.selection.overflows;
font_size = app.selection.paragraphs.pointSize;
Thanks for that. I selected the text frame that's causing me trouble and ran the script but when I do my data merge, the text still didn't resize. It gives me overset text if I turn off Auto-Size or it goes unto two lines if Auto-Size is on. Any ideas why?
When you set Auto-size to your text frame, this option will re-size your text frame either hight or width or both. The option will not do anything anything with your text-size. You have to use the scripting way to re-size your text!
This may not need to be scripted. I did a blog-piece on this using name-badges but is also applicable to headlines and any instance of text that has to fit within a placeholder:
hope this helps
OMG, Awesome! Totally answered the question perfectly