Hello everyone,
it seems adobe did not give Applescript support for EPS preview format in Indesign 2.0 so I am stuck trying to make it work through GUI scripting and I’m not having much luck if anyone still has 2.0 I could sure use some help heres what ia have and although it appears to get the job done when I then try to import the EPS quark it tells me the preview is TIFF not PICT as it should be; If I do all the steps manually then it set the preview correctly
set clientWorkFolderPath to (path to desktop)
set QuarkFileName to "test"
tell application "InDesign 2.0.2"
activate
set previewFormat to " PICT"
ignoring application responses
export front document to ("" & clientWorkFolderPath & QuarkFileName & ".eps") format EPS type with showing options
end ignoring
delay 2
tell application "System Events"
tell application process "InDesign 2.0.2"
repeat 2 times
click of pop up button 3 of window 1
delay 1
click menu item previewFormat of menu 1 of pop up button 3 of window 1
delay 1
end repeat
keystroke return
end tell
end tell
end tell
thanks
MM