Hallo,
da muss ich wohl etwas gründlich mißverstanden haben, denn es wird keine Datei erzeugt!? Wie wird exportForWeb richtig gehandhabt?
#target InDesign
with(app.exportForWebPreferences){
imageConversion = ImageConversion.JPEG;
jpegOptionsFormat = JPEGOptionsFormat.BASELINE_ENCODING;
jpegOptionsQuality = JPEGOptionsQuality.MAXIMUM;
copyOriginalImages = true;
}
var theImage = app.selection[0]; --Bild markiert
var myExport = theImage.exportForWeb(File ('~meinTestBild.jpg'));
Lieben Gruß
Hans-Gerd Claßen