I wonder if it is possible to get the rotate value from an ImageElement in an InDesign element with a custom script? I am new to InDesign server scripting, but have start learning if this is possible.
Hope this helps... This gets all images rotation Angle.
var pageItems = app.activeWindow.activePage.allPageItems;
var itemsCount = pageItems.length;
for(var i=0; i<itemsCount; i++)
{
if(pageItems[i] instanceof Image)
{
var graphic = pageItems[i];
var rotation = graphic.rotationAngle;
}
}