Question
InDesign 21.3 AppleScriptObjC script wont load fondation framework
I’m using Startup Scripts that loads the macOS Fondation Framework.
They’re running without any problem with all InDesign versions from 2016 to 2025.
At this time, I’m on a MacStudio M4, running macOs Sequoia and InDesign 20.5.3.
The scripts works well. But if I install InDesign 2026 (v21.3) the Framework won’t load.
Here is an example of code:
use framework "Foundation"
use scripting additions
tell application id "InDn"
make event listener with properties {event type:"afterOpen", handler:testHandler, name:"testHandler"}
end tell
on testHandler()
set theString to current application's NSString's stringWithString:"test"
end testHandler
What’s new in InDesign that prevent the script to run?
Is there a workaround?
