"Dim myInDesign As InDesign.Application" is not accepted neither (Robin, which is another point concerning the differences between VBS and VB6), but the point is that I have the solution to my first problem. I can now continue.

When I posted this question I wanted to find something to select all objects of... I didn't specify. But, yes, Robin, you're right! I will have to take this into account. In fact, I'm working with layers... So now, I have to continue searching to find the better solution!

"Dim myInDesign As InDesign.Application" is not accepted neither (Robin, which is another point concerning the differences between VBS and VB6), but the point is that I have the solution to my first problem. I can now continue.

in VB6 IDE - you need to make reference to TLB file with info about functions, properties and enums available from "controlled" application - when you run VBScript from InDesign - you have already correct TLB file loaded

Just a note: if you're going to use Dim, make sure that you comment out the line before deploying your application. It *will* cause problems if you don't.

But a better question is--why do you need to select the objects? It's possible to work with the objects without selecting them, which gives you a way to do things with all objects on all pages (something you can't do using selection).

Well, for whatever it's worth, I would still use duplicate, and then reestablish the text frame links after that. In my opinion, copy/paste should be reserved for cases in which there is literally *no other way* to do something.