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

Re: Placing Group Library Assets

$
0
0

Hi,

 

In case of placing a group your code is trying to move some text - without container - into the group ==> so it fails

 

Try to modify the code including additional variable mRef as a move reference parameter, so:

 

...
var mRef = myPlaceAsset;if (mRef.textFrames.length >0)      mRef = mRef.textFrames[0];
myAnno.move(LocationOptions.AT_END, mRef);
...

 

 

Jarek


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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