Copy link to clipboard
Copied
How to identify if there is an empty space around the textframe i:e(Top,Right,Bottom,Left) using script?
Copy link to clipboard
Copied
Does anyone with a suggestion or is this possible to identify?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Decrease the height and width (visibleBounds) of the TextFrame until it overflows
Copy link to clipboard
Copied
Check the geometric bounds of text frames on the page.
Copy link to clipboard
Copied
Work always with Object Styles, so you can temporarely add area or stroke color.
But if you did not work with dedicated Object Styles, you can change the stroke and area to all given default styles in [] to show them temporarel.
Copy link to clipboard
Copied
Hi @SA8888 ,
empty space in regards to the page the text frame is positioned?
Or empty space in regards of the text the text frame contains?
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
I want to check the empty space in regard to the page the text frame is positioned.
Copy link to clipboard
Copied
Ok. What do you like to do next when you checked the empty space?
Enlarge the text frame to fill the space?
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
I want to fill the space next to the text frame.
Copy link to clipboard
Copied
Is there any solution @Laubender
Copy link to clipboard
Copied
Hi @SA8888 ,
you need to write your own solution.
What I can think of is to export the page to PDF and render it with PhotoShop to do a selection with all pixels on the page. With that you can determine empty spaces.
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
"Copy" the frame and "Paste in place"
"Fit frame to content" in "Adjust size"
Looking at the difference between the original frame and the geometric bounds may help you understand the meaning of the space.
Copy link to clipboard
Copied
I may have misunderstood the sentence, I wondered if there was space around the text.