Copy link to clipboard
Copied
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/]
Copy link to clipboard
Copied
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;
Copy link to clipboard
Copied
Your first solution works ! Thank you very much
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
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).
Copy link to clipboard
Copied
Best ask the maker of the script.
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
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 )