Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Changing tabs value in paragraph style based on longest word

$
0
0

Hi,

I am writing a javascript that wil find all dialogue in a text frame, indent it and bold it. I have managed to figure out with GREP how to find and bold the dialogue, but i can't figure out a way to dynamically calculate what the longest needed tab stop to align the left edge of the dialogue. Picture attached to illustrate what i am looking for. Any help would be appreciated.

 

Screen Shot 2013-08-05 at 7.16.18 AM.jpg


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>