Anchored items size with javascript


hi all,

 

i try size of item in indesign page, function geometricbounds.

it causes problem when item anchored 1 : bounds of main item , not anchored 1 (see red arrow in sreenshot).

i can't detect second item script, because isn't real item, anchored item other one. can't make group these 2 items neither.

if export image file item, main item , anchored one.

 

is there solution size of whole object ?

 

thanks,

 

screenshot.png

kenobee wrote:

 

...i can't detect second item script, because isn't real item...

 

can select second item in indesign?
can see anchor point object anywhere in fextframe?

 

anchored items real standalone ones. there different way refer them.

determine if arrow anchored object in fact.

starting attached doc view (textframe selected)  arrow geobounds supposed be:

 

app.selection[0].splineitems[0].geometricbounds; 

 

...if arrow anchored there indeed.

 

jarek



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?