I am trying to create a batch sequence in Acrobat 9. I want to crop a series of pdf files using different input parameters. Is there a way to read in the margins (top, bottom, left, right) or x,y coordinates from an access database (or excel or csv or xml)?
The 3 sources you mentioned are very different.
1) Database - You can connect to a database using the ADBC object. More info can be found in the reference files.
2) CSV - I think the best way to read it is by importing it as a DataObject and then reading it using a ReadStream. Look in the reference for doc.getDataObjectsContents().