We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I use scripts a good bit in my workflow. Every time Adobe does a major update for InDesign, my custom scripts don't work. Very frustrating to have to take the time to "fix" a script that was working in the old version, to work in the new version. Why can't there be an easy way to transfer the scripts from one version to the next?
Maybe your custom scripts target a specific version of InDesign?
How do you install your custom scripts?
How exactly do you execute them?
What's the scripting language and your operating system?
What's your version of InDesign?
And: Share some custom code.
( ACP )
And to expand a bit further, you can also try putting your scripts that used to work into a folder inside the scripts folder named Version [insert version integer number for version where they did work] Scripts i.e. Version 15 Scripts. Note the capitalization is required.
Interesting! What will this do Peter? Will Indesign run them with an older API so they will work? If so, that's really cool to know.
this is mainly used for scripting APIs that are deprecated, but still there in newer versions.
It's all or nothing solution. Could work or not. Necessary for some scripts from InDesign CS3 or CS4 when run in CS5 or above. A main change in the scripting DOM happened between CS4 and CS5. Usually that it not necessary between say InDesign 2021 and 2022. And it will not help if old APIs are totally abandoned like all functionality with Flash based APIs for example.
( ACP )
Thanks Uwe, that's good to know. - Mark