Hi, we have a bunch of image placeholders in assets that get loaded by script then import xml. We'd like to then after all are loaded do something like tell all rectangles whose label = "Image" to fit frame to content through the script if possible? Thanks.
The funny thing about AppleScript is typing the question is half way to the solution…
tell application "Adobe InDesign CS5"
tell the active document
tell (every rectangle whose label is "Image")
fit given fill proportionally
fit given center content
Looks good, just had to make it "fit given frame to content" and does exactly what we were looking for. Thanks!