Adobe InDesign Scripting
4. Place an Image
This script will:
open Adobe InDesign
locate a graphic file
determine the dimensions for the graphic
place the file .
View the Visual Basic Code