Need Help With Droplet Script - Export > Adobe Acrobat (Interactive)
Hi been a very very long time since i wrote apple script. I am attempting to write a application/droplet that upon dropping an indesign file:
1. file opens
2. a export is created - specifically Adobe Acrobat (Interactive) without options
3. the result is uploaded to a defined bath
4. file closes
property PDFPresetName : "[Adobe PDF (Interactive)]"
on open droppedItems
repeat with aFile in droppedItems
set PDFFilePath to "mypath"
tell application "Adobe InDesign 2023"
try
open aFile
set PDFPreset to export PDFPresetName
export front document format PDF type using PDFPreset to PDFFilePath without showing options
close front document saving no
end try
end tell
end repeat
end openi know its something simple but i am not seeing it - as i said its been years. thnk you inadvance!