• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SortParagraphs Error45

Participant ,
Jun 14, 2016 Jun 14, 2016

Copy link to clipboard

Copied

Hey there, I am trying to sort some Text and I'd like to keep different Formats. But if I try to Retain Formats i get an error popup: "JavaScript Fehler! Fehlernummer: 45, Object is invalid

in Line 141 myStringB = myParagraphs.item(myCounter+1).contents.toLowerCase();

How can i keep the formatting while sorting?

Cheers,

Christian

TOPICS
Scripting

Views

495

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

correct answers 1 Correct answer

Community Expert , Jun 21, 2016 Jun 21, 2016

Hi Christian,

I'd suggest you could also look at Peter Kahrel's version of a Paragraph Sorter script:

Language-aware paragraph/line sorter | Peter Kahrel

Regards,
Uwe

Votes

Translate

Translate
Community Expert ,
Jun 14, 2016 Jun 14, 2016

Copy link to clipboard

Copied

I've moved your question to the scripting forum. I suspect the folks here would like to know what version of InDesign you are using.

Votes

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
Participant ,
Jun 14, 2016 Jun 14, 2016

Copy link to clipboard

Copied

sure, i am using the CC2015 version. i suppose there is no CC2016?

Votes

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
Engaged ,
Jun 21, 2016 Jun 21, 2016

Copy link to clipboard

Copied

I assume you are referring to the script SortParagraphs.jsx?

Votes

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
Participant ,
Jun 21, 2016 Jun 21, 2016

Copy link to clipboard

Copied

yes, thats the thing

Votes

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
Community Expert ,
Jun 21, 2016 Jun 21, 2016

Copy link to clipboard

Copied

Hi Christian,

I'd suggest you could also look at Peter Kahrel's version of a Paragraph Sorter script:

Language-aware paragraph/line sorter | Peter Kahrel

Regards,
Uwe

Votes

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
Participant ,
Jun 22, 2016 Jun 22, 2016

Copy link to clipboard

Copied

ok, damit scheint's zu funktionieren. trotzdem wäre es cool wenn das mitgelieferte Skript fehlerfrei laufen würde.

Votes

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
Community Expert ,
Jun 22, 2016 Jun 22, 2016

Copy link to clipboard

Copied

LATEST

Hi Christian,

unfortunately the pre-installed scripts were never maintained.
So I think, the day has come when one of the scripts will break.

You can write a bug report and supply it to the developers:

Wishform - Adobe InDesign

Prepare an open InDesign file as use case where the script is not working, upload it to your Dropbox account and provide the download link with the bug report.

Regards,
Uwe

Votes

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