Question
[javascript] Detect if placed image has been scaled (by accident)
Is there a quick way (with Javascript) to detect if a placed image in InDesign has been scaled (by error or accident) after it has been imported and placed? The image properties diesn't seem to help at this point.
Sort of like this, but you know, better:
function has_this_been_accidentally_scaled()
{
var scaled = active_image.transform.scale()
if (scaled != 100) return true;// Yes, it's too big/small
else return false; // No, it's at 100% scale
}
