Skip to main content
Participant
June 20, 2019
Question

InDesign Multi-line File Name Text Variable

  • June 20, 2019
  • 4 replies
  • 3118 views

Hi everyone,

This has been asked as a question before, but I've not found an answer so I'm asking it a little more specifically to what I'm looking for. I have a text variable for the file name and I'm wanting to learn to make it automatically scroll into multiple lines. Currently if your text box is not wide enough, all of the characters condense into each other making it illegible.

I've found a forum regarding creating nested styles that didn't seem to work. Any specific help and instructions would be appreciated.

Thanks!

4 replies

Colin Flashman
Community Expert
Community Expert
April 2, 2025

There is a workaround to this shown in Daniel Solis' video here: https://youtu.be/zaPnChlt0rE?si=iU2bNC_6Ix3z-IFh

It does however require a compromise in formatting - that is, the text must not be justified.

 

I've edited this comment as this does NOT apply to text variables - I'd misunderstood the question of data merge variables, rather than text variables, which is a different issue. Kudos to @Dave Creamer of IDEAS and @Robert at ID-Tasker for correcting me on this issue, my apologies.

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Dave Creamer of IDEAS
Community Expert
Community Expert
April 2, 2025

@Colin Flashman Are you saying the DataMerge "trick" works on variables (the original topic of this thread) too?

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Robert at ID-Tasker
Legend
April 2, 2025
quote

@Colin Flashman Are you saying the DataMerge "trick" works on variables (the original topic of this thread) too?

 

By @Dave Creamer of IDEAS

 

It doesn't:

 

(above is normal text)

 

Won't even "touch" text inside.

 

Text Variable is a single character entity.

 

You can even see this faint rectangle around the Text Variable:

 

 

 

 

But after you convert to text:

 

 

Barb Binder
Community Expert
Community Expert
April 13, 2023

This is important to a lot of people (myself included). Please vote for this as a feature request here:


https://indesign.uservoice.com/forums/601021-adobe-indesign-feature-requests/suggestions/31023790-make-text-variables-live-captions-breakable-like-n

 

~Barb

~Barb at Rocky Mountain Training
Participant
April 2, 2025

I would love for text variable to be treated just like the text they are placed within. Looking at the feature request... and other requests... there is an emourmous outcry for action. Other requests with only 20% of the community upvotes have been closed with resolution from Adobe. This 'text variable issue' has been open since 2017 and has more than 500 upvotes. I feel it is just a no-go for Adobe. To further speculate, perhaps the outcry for resolution failed to increment quickly enough. 8 years and 500+ clicks may fall out of some checkbox. I would love it to work correctly, as a direct text replacement when placed. That said... If anyone has a work around or a macro to share, PLEASE DO! 

Robert at ID-Tasker
Legend
April 2, 2025

@adamh85664483

 

If it's in a separate TextFrame - you could duplicate it and convert to text - if in the middle of the text - it might be more inconvenient - but can still be automated. 

 

Participant
April 13, 2023

I am having the same issue and still no solution 😞

BobLevine
Community Expert
Community Expert
April 13, 2023

You are not having an issue. Nothing's changed.

Steve Werner
Community Expert
Community Expert
June 20, 2019

Text variables are limited to one line. It's been a known issue/limitation as long as the Text Variable feature has existed.

Post a feature request here (but check there first, there may be one you already posted which you can vote for):

Feature Requests/Bugs