Copy link to clipboard
Copied
Hi,
I can't able to view the InDesign scripting forum, kindly suggest to easy access compared with the old format. I can't do the categorize fo the InDesign scripting community or InDesign technical community. Please guide me if I'm using it wrong.
Thanks,
Selva
1 Correct answer
Yes that is how you search. You might not find the content that was present in the old forum as not all the posts have been migrated to the new platform
-Manan
Copy link to clipboard
Copied
The screenshot you have posted is of the old forum which has been migrated to these new forums where you have posted your query. Now over here we don't have a seperate forum for scripting but we have forums categroized by products. If you just want to look at the scripting posts you can click the Scripting tab present under the Topics header on the top right of the forum landing page.
-Manan
Copy link to clipboard
Copied
Hi Manan,
Thanks for the guidance. Can you please confirm, we have the option to search the method as below or any other option? (because of 'critical to search which I needed')
Thanks,
Selva
Copy link to clipboard
Copied
Yes that is how you search. You might not find the content that was present in the old forum as not all the posts have been migrated to the new platform
-Manan
Copy link to clipboard
Copied
Thanks for the quick reply, kindly share the export epub 3 preferences (collective) like as a below,
var doc = app.documents[0];
doc.epubExportPreferences.properties = {
epubVersion : EpubVersion.EPUB3
}
Note: all the options I can't collect from the object moduler.
Thanks,
Selvam. V
Copy link to clipboard
Copied
Hi Selvam,
look into the DOM documentation:
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#EPubExportPreference.html
The property you are looking after is version and not epubVersion .
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
Thanks Uwe. I'll collect it from the properties and get back to you if I'm lacking any.
Copy link to clipboard
Copied
Hi Uwe,
Kindly help on this topic, the split document option is not reflecting in paragraph style.
var parsty = app.documents[0].allParagraphStyles;
for(var i = 0; i < parsty.length; i++){
if(parsty[i].startParagraph==StartParagraph.ANYWHERE){continue}
if(parsty[i].startParagraph==StartParagraph.NEXT_COLUMN){continue}
if(parsty[i].startParagraph==StartParagraph.NEXT_FRAME){continue}
parsty[i].styleExportTagMaps.add("EPUB", parsty[i].name, "", "")
parsty[i].splitDocument == true;
}
Please guide me.
Thanks,
Selva
Copy link to clipboard
Copied
Hi Selva,
maybe you ran into a bug?
What's your exact version of InDesign on what operating system? Your Export Tagging panel looks slightly different to my German version of InDesign 2020. One checkbox with one feature is missing in your screenshot that I can see in my version: includeClass. That points to InDesign CC 2018 ( or below ) on your side.
FWIW: I would manually enable/disable the feature in your paragraph style and then check if the value of splitDocument for that particular paragraph style has changed. Try with value false in your script if you manually enabled the feature.
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
Hi Uwe,
Thanks for the analysis.
By mistakenly, I have used the 'parsty[i].splitDocument == true' instead of 'parsty[i].splitDocument = true'.
Sorry for the inconvenience.
Regards,
Selva
Copy link to clipboard
Copied
It is a free e-mail service, which will let you select the area name from a giant listing.

