Skip to main content
Participant
Jun 20, 2019 2:47 PM UTC
Question

InDesign Multi-line File Name Text Variable

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!

11 replies

Colin Flashman
Community Expert
Community Expert
Apr 2, 2025 9:06 PM UTC

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.

Translate
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
Apr 2, 2025 10:21 PM UTC

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

 

Translate
David Creamer: Community Expert (ACI and ACE 1995-2023)
Robert at ID-Tasker
Legend
Apr 2, 2025 10:30 PM UTC
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:

 

 

Translate
Barb Binder
Community Expert
Community Expert
Apr 13, 2023 2:54 PM UTC

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

Translate
~Barb at Rocky Mountain Training
Participant
Apr 2, 2025 4:01 PM UTC

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! 

Translate
Robert at ID-Tasker
Legend
Apr 2, 2025 7:48 PM UTC

@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. 

 

Translate
Participant
Apr 13, 2023 12:27 PM UTC

I am having the same issue and still no solution 😞

Translate
BobLevine
Community Expert
Community Expert
Apr 13, 2023 1:13 PM UTC

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

Translate
Steve Werner
Community Expert
Community Expert
Jun 20, 2019 2:53 PM UTC

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

Translate