Ok, I managed to get the image on the other page. My last concern is using the paste into statement.
Is it possible to paste the image in a predefined rectangle on my document page?
Trying to do so gives the error : does not understand paste into command!
It would be awesome if someone could help me!
[...] Macintosh and I are like fire and water.
(There are only a few -- very minor -- caveat emptors to consider, and IIRC they all have to do with the difference in file systems only.)
You are completely right! Got my copy of Visual Basic not in the building however.
I just came to the conclusion my questions are quite stupid... It is my first day applescript though!
Here is the solution:
tell application "Adobe InDesign CS4"
set myFrame to item 1 of rectangle 1 of document "test.indd"
set selection to item 1 of myFrame
set myDocument to document "example.indd"
set active document to myDocument
set myRectangle to item 1 of rectangle 1 of myDocument
set selection to item 1 of myRectangle