This content has been marked as final. Show 6 replies
Try dropping the "s" from jpegExportPreferences. In the ID3 Object Model html reference it is listed as jpegExportPreference
No dice. With many preferences (and other objects) in ID3, the object is called as mutliple even though its a single object.
I never played with jpeg export, but chances are it's using a preset
which overrides the settings.
You can try creating a new preset instead.
What happens when you try (I don't know if it'll work...):
I tried your script and it works for me as expected. The resolution of the exported jpeg-file is 600 dpi.
Still having this problem. It would appear that when exportFile is called, it resets everything to "Baseline, Medium, 72" instead of "Baseline, Maximum, 600". Ive tried closing all documents and running just the preferences part of the script, this works but stills gets overridden when exportFile is called! Ive tried giving it a pdfexportpreset but that seems to make no difference anyway. Any Ideas?
I know it is a very late reply, but now only i have faced this same kind of problem. The solution is to update ur Indesign CS3(5.0) to Indesign CS3(5.0.4) and you will wonder ur same code works fine.