Might have been a plugin...
How, exactly did you want the text to stretch? If you set the paragraph alignment to Full Justify, the letterspacing will grow to make the word fit, and if you allow glyph scaling in the Justification settings your letters may even stretch horizontally, but they won't scale vertically. For that you'd need a script.
For example, I have a frame spanning the entire width of a column. I want to fill the frame with the word "Headline" . I found a "script" online that refers to FitText Pref, but am unsure how to use scripts.
There Object > Fitting > Fit Frame to Content, which will make the text frame the size of the text.
After that you can scale the text & text frame to its preferred size:
- Select the text frame with the Selection tool
- Press Shift+Cmd (Mac), or Shift+Ctrl (Win), and drag the corner handle to scale proportionally. Remove the Shift key to scale to any width or height.
I suspect you were looking at this: Fun With Text Fitting in InDesign | in-tools.com
It should work for what you ant to do if you follow the instructions.
There is also Fit Text to Frame | FreelanceBookDesign.com which should work in a similar fashion.
Both scripts are by regular contributors to this forum.
Do you want the height of the text to change, or just stretch the width?
If it's just the width, try what Peter suggested - make a Paragraph Style that is set to Full Justify, and under Justification, set the Glyph Scaling to their extremes. The one thing that might stop this from doing the job would be the fact that those extremes are too limited, unfortunately.
Thanks for the mention, Peter.
The latest version of the script is here:
(In fact, all scripts are being moved over to the new Id-Extras.com website, so that's where all the latest versions will be).
Comes with a free 30-day demo...