Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
--Measurement units are points.
set frameBounds to {0, 0, 712, 692}
set linkPath to alias "hazuki:test.jpg"
tell application "Adobe InDesign CS3"
tell document 1
tell page 1
set imageFrame to make rectangle with properties {geometric bounds:frameBounds}
set framedImage to place linkPath on imageFrame with properties {absolute horizontal scale:100, absolute vertical scale:100}
--The place method returns an array.
tell item 1 of framedImage
move by {-216, -72}
end tell
end tell
end tell
end tell
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more