Trouble porting CS3 script to CS5
Hi:
I'm having difficulty porting some of my CS3 scripts over to CS5. It seems I'm having problems placing graphics in rectangles.
On the following script:
tell application "Adobe InDesign CS5"
activate
set newDoc to make document
tell newDoc
tell document preferences
set page width to 8.5
set page height to 11
end tell
make rectangle with properties {geometric bounds:{1.75, 1.5, 3.5, 4.375}, fill color:swatch "Black", fill tint:0, stroke weight:0.5, stroke color:swatch "Black", stroke tint:0, label:"ImageBox"}
set tempPDF to "Macintosh HD:Users:someuser:Desktop:temp.pdf"
tell rectangle "ImageBox"
place tempPDF
end tell
end tell
end tell