I'm batch exporting JPGs of AI files in CS5, but many of the files are as old as AI10, so I'm getting the "Convert to Artboard" dialog box. I've set open options (below), but they seem to just pre-populate the checkboxes in the dialog. Any way to do this without user interaction? (userInteractionLevel doesn't seem to apply here)
var optRef = new OpenOptions();
optRef.updateLegacyText = true;
optRef.convertCropAreaToArboard = false;
optRef.preserveLegacyArtboard = true;
optRef.createArtboardWithArtworkBoundingBox = false;
Somehow this spontaneously self-repaired. I quit Extendscript and reopened, and now the Convert to Artboard dialog no longer appears. Yay!
I was having the same problem - and was pleased to see my search turn up this responce, but the key for me was setting the userInteractionLevel -