Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Custom Scripts not working

New Here ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

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? 

TOPICS
Scripting

Views

69

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

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.

 

Thanks,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 04, 2021 Nov 04, 2021

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 05, 2021 Nov 05, 2021

Copy link to clipboard

Copied

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.

- Mark

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 05, 2021 Nov 05, 2021

Copy link to clipboard

Copied

Hi Mark,

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.

 

Regards,
Uwe Laubender

( ACP )

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 05, 2021 Nov 05, 2021

Copy link to clipboard

Copied

LATEST

Thanks Uwe, that's good to know. - Mark

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines