That it the solutioin:
1 : create a VB-Script (.vbs) (see also doku):
Set gPDDoc = CreateObject("AcroExch.PDDoc")
gPDDoc.Open(FileName)
Set jso = gPDDoc.GetJSObject
jso.CropPage FileName
jso.saveAsEPS FileName
2: Create an new JS-file in folder "C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Javascripts" - all JS-files will be read when Acrobat is starting:
3: write this in the JS-file
function CropPage(FileName)
{
console.clear();
console.show();
Media = this.getPageBox("Media");
this.setPageBoxes("Media", 0, 0, Media);
Crop = this.getPageBox("Crop");
this.setPageBoxes("Crop", 0, 0, Crop);
Trim = this.getPageBox("Trim");
this.setPageBoxes("Trim", 0, 0, Trim);
BBox = this.getPageBox("BBox");
this.setPageBoxes("Crop", 0, 0, BBox);
Bleed = this.getPageBox("Bleed");
this.setPageBoxes("Bleed", 0, 0, Bleed);
}
function saveAsEPS (FileName)
{
console.clear();
console.show();
this.saveAs(FileName + ".eps", "com.adobe.acrobat.eps");
this.closeDoc(true);
}
THANK YOU SO MUCH!
Eugen