I used VB6 to compile a script as a stand alone application. In this way you can run it anywhere on your system.
Try
Set myInDesign = CreateObject("InDesign.Application")
this works for me.
I used VB6 to compile a script as a stand alone application. In this way you can run it anywhere on your system.
Try
Set myInDesign = CreateObject("InDesign.Application")
this works for me.