Scripts Not Functioning After Update to InDesign CC 2025
- October 14, 2024
- 4 replies
- 12384 views
I have a load of scripts used to produce different PDF's. These will not work in the New InDsesign 2025.
Attched screenshot of error message.
This is one of the codes which I have used for over 10 years until the new version.
tell application id "com.adobe.indesign"
set _NoCrops to PDF export preset "No Crops"
set _Crops to PDF export preset "Crop NO Text"
set _dest to path to desktop as string
tell active document
set _Name to name
if _Name ends with ".indd" then
set _Name to text 1 thru -6 of _Name
end if
set noCropPath to _dest & _Name & " PROOF" & ".pdf"
set cropPath to _dest & _Name & " PRINT" & ".pdf"
export format PDF type to noCropPath using _NoCrops without showing options
export format PDF type to cropPath using _Crops without showing options
end tell
end tell
tell application "Finder"
set label index of file noCropPath to 7
set label index of file cropPath to 2
end tell
<Title renamed by MOD>
