Copy link to clipboard
Copied
I can do this manually but that would take a really long time!
Select a range of paragraphs and try this script:
var s = app.activeDocument.selection[0].paragraphs.everyItem().getElements();
var eho, b, tfl;
for (var i = 0; i < s.length-1; i++){
tfl = s[i].parentTextFrames.length;
b = s[i].parentTextFrames[tfl-1].geometricBounds[1];
try {
eho = s[i].characters[-1].horizontalOffset - b;
s[i+1].firstLineIndent = eho
}catch(e) { }
};
Before:
After:
Copy link to clipboard
Copied
Sorry that did not come out right!!! I mean like the image i've attached onto here.
Copy link to clipboard
Copied
Hi @ÄLSAFFAR , There’s no style property that would do that, but it could be scripted.
Copy link to clipboard
Copied
I can do this manually but that would take a really long time!
Select a range of paragraphs and try this script:
var s = app.activeDocument.selection[0].paragraphs.everyItem().getElements();
var eho, b, tfl;
for (var i = 0; i < s.length-1; i++){
tfl = s[i].parentTextFrames.length;
b = s[i].parentTextFrames[tfl-1].geometricBounds[1];
try {
eho = s[i].characters[-1].horizontalOffset - b;
s[i+1].firstLineIndent = eho
}catch(e) { }
};
Before:
After:
Copy link to clipboard
Copied
Thank you so much for this! That explains why I couldn't find anything online!