Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Anchored Object release

$
0
0

Hi

I'm using InDesign CC and when releasing an anchored object the pointer to the previously anchored object is lost,

actually the pointer is passed to the next object in the page

 

Locate an anchored object on the page:

 

groupRectangle = myPage.pageItems.itemByName("groupRectangle")

groupRectangle.anchoredObjectSettings.releaseAnchoredObject ()

 

//oops: the previously groupRectangle is no longer the object groupRectangle  - it is the following object in the page - it even passes its id.

 

is it a bug?

 

Eli


Viewing all articles
Browse latest Browse all 37788