Thanks for that Shane, but for some reason the script is reporting that it can't get item 1 of page 1 of spread 1.
I can't see why not, there's only one item on the page, plus the library panel that is open.
Have I moved the store line to the wrong place?
repeat with i from 1 to number of items in graphiclist
set graphicname to item i of graphiclist
set fullgraphic to (graphicpath & graphicname)
tell application "Adobe InDesign CS3"
set mypage to page 1 of spread 1 of active document
set placedgraphic to place fullgraphic
display dialog ("Had a problem with graphic " & graphicname)
set activegraphic to item 1 of page 1 of spread 1
set addgraphic to store graphiclib using activegraphic
HI again Shane
I got to think about the item issue. I was picking activegraphic as item 1 etc.
I has now worked by simply using placedgraphic, as it holds all of the properties for the asset I needed to store.
But thanks for the help, I was going further and further down a blind alley, but you turned me around and showed me the light.