Skip to main content
Inspiring
November 29, 2019
Question

InDesign 2020 script issue : doesn't work any more

  • November 29, 2019
  • 4 replies
  • 1786 views

Since the 2020 update, I can not use a script I had to transfer layers from a Indesign document to an other. At first It didn't appeared in the scripts panel so I've put it back (in Scripts Panel folder) but nothing happen when I double click it.

I use MacOs Mojave 10.14.6

 How to correct this ?

 

[Moving from generic Start/Help forum to the specific Program forum... Mod]
[To find a forum for your program please start at https://community.adobe.com/]

This topic has been closed for replies.

4 replies

Community Expert
December 2, 2019

Hi Albertine3,

aha, the “Version 14.0 Scripts” folder is working.

Can you post the script code so that we can get an idea what changed with InDesign 2020 that it can only run in a 2019 version folder?

 

Thanks,
Uwe Laubender

( ACP )

Community Expert
November 29, 2019

Best ask the maker of the script.

 

Regards,
Uwe Laubender

( ACP )

Community Expert
November 29, 2019

What's the scripting language of that script?

AppleScript? ExtendScript (JavaScript)?

 

Maybe there is some code that checks the version of InDesign and will not run if the version is different than the one that is stated in the script code? Do you have access to the script's source code?

 

Regards,
Uwe Laubender

( ACP )

Inspiring
December 2, 2019

It's a JavaScript. A really simple one, it doesn't seems to checks the version as far as understand it (but I don't speak js).

Kasyan Servetsky
Legend
November 29, 2019

1) Probably something has changed in the new version which prevents it from working. Create the “Version 14.0 Scripts” folder in the 'Scripts panel' folder. Move it there and run the script from this folder. This forces Indy to run it as if it were CC 2019

2) If the script has a dialog box and nothing appears as you run it, try to run this one-liner to restore dialogs:
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;

Inspiring
December 2, 2019

Your first solution works ! Thank you very much