Where myFrame is your selected frame.
Maybe I explain what I really want to do. Sorry.
I just wanna make a text frame, play any text and the frame auto fit to content. PageMaker it´s this way for default. Do you remember?
Okay fine. May be you would like to look into the
free plug-in from typefi.
Try it, might suits your requirement and there are several other features
available with it.
If you need this for single text frames, Typefi's Autofit probably fits the bill. I you need this for threaded stories, AutoFlow Pro is probably a better solution. http://in-tools.com/autoflowpro.html
Thank you all!!