HOW TO: set anchoredObjectSettings for .palce() object?
Hi, I'm currently working on interesting script for GREP placing, and I'm wondering how I can set anchoredObjectSettings for .palce() object?
for(i=0; i < found.length; i++)
{
foundElem = new File (myFolder + "/" + found.contents);
found.place(foundElem); // Placing Ancored Object
// HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object
//anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
//anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
}
Here you can download example files - script, InDesign file and images, that should be placed into InDesign file with script
PS: I believe this script will be very useful, so if anybody have any ideas/suggestions, and want to help me with further development - this would be great!
