Highlighted

Story Splitter script not working with Indesign 2020

New Here ,
Dec 25, 2019

Copy link to clipboard

Copied

I tried just tried splitting a story with the good old script from 2006. It seems however, that it stopped working with the latest version of Indesign.

 

Any of you eager scripters out there know is there is a 'quick' fix?

TOPICS
Scripting

Views

232

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

Story Splitter script not working with Indesign 2020

New Here ,
Dec 25, 2019

Copy link to clipboard

Copied

I tried just tried splitting a story with the good old script from 2006. It seems however, that it stopped working with the latest version of Indesign.

 

Any of you eager scripters out there know is there is a 'quick' fix?

TOPICS
Scripting

Views

233

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
Dec 25, 2019 0
Adobe Community Professional ,
Dec 25, 2019

Copy link to clipboard

Copied

Hi Anders,

 

Could you be a bit more specific as to what do you mean by the script not working. Does it error out, does it produce wrong results or something else. Also please quote the source from which you got the script. Searching a bit i found one version on these forums which has been reported to work as late as the 2018 version, could you try the version given in the following thread. Read the whole post and look at the code given at the last which has some corrections for issues that cropped up while the post transferred to the new forums.

https://community.adobe.com/t5/indesign/please-provide-the-story-splitter-script-by-adi-ravid/td-p/5...

If this is not the code that you are referring to, or it still does not work according to you then provide your version of the script so that we can have a look and try to fix it.

 

-Manan

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
Reply
Loading...
Dec 25, 2019 0
Adobe Community Professional ,
Dec 26, 2019

Copy link to clipboard

Copied

If you are referring to the sample script "SplitStory.jsx" that gets installed with InDesign in the Scripts/Scripts Panel/Samples/JavaScript folder, I just tested it using version 15.0.1 and it appears to be working properly. Are you referring to a different script?

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
Reply
Loading...
Dec 26, 2019 0
Adobe Community Professional ,
Dec 27, 2019

Copy link to clipboard

Copied

Hi,

can you tell the source of the script code?

Maybe you recently copied the code from one of the older threads here in the forum?

Then it could be that the code is not working as expected because transferring old threads to the new forum damaged some code details.

 

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
Reply
Loading...
Dec 27, 2019 0
New Here ,
Dec 27, 2019

Copy link to clipboard

Copied

Dear Manan, David and Uwe

 

Thank you all for your kind help. I re-downloaded the script, and placed it in the Application folder, instead of the User folder. Which solved the problem. I don't know if it has anything to do with the Indesign 2020 update.

 

I'm sorry for wasting your time.

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
Reply
Loading...
Dec 27, 2019 0
Adobe Community Professional ,
Dec 27, 2019

Copy link to clipboard

Copied

Hi andersg54130520,

usually the User folder should work as well like the Application folder for scripts.

So it was very good that you brought up this issue.

 

Now the question is: What's in the script's code that prevents the script running from the User folder in the Scripts panel.

 

Can you share the script file?

Put in on Dropbox or a similar service and provide a download link so that we can look into it.

 

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
Reply
Loading...
Dec 27, 2019 0
New Here ,
Jul 28, 2020

Copy link to clipboard

Copied

Hello all ... Had the same problem. Downloaded the file, copied into user ... no go. I moved to the application folder still no go. The file I downloaded had .jsx as the file type, I dropped the "x" and voila ... working. Note: Mac OS Catalina, Indesign 2020. Maybe a MAC thing but I thought I'd share. Also, double check that your system did not add .txt to the end... Macs do this sometimes. Not so sure about PC's.

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
Reply
Loading...
Jul 28, 2020 0