-
1. Re: [JS] numbering value Paragarphe
Laubender Jun 18, 2014 5:00 AM (in response to Philippe Ruelle)@Philippe – yes. I suppose you mean the value of the number.
Select some text of a single paragraph and run this snippet:
alert(app.selection[0].paragraphs[0].numberingResultNumber);
numberingResultNumber will return a Number, not a String.
Uwe
-
2. Re: [JS] numbering value Paragarphe
Philippe Ruelle Jun 18, 2014 5:05 AM (in response to Laubender)Super! thank you
-
3. Re: [JS] numbering value Paragarphe
Laubender Jun 18, 2014 5:14 AM (in response to Philippe Ruelle)Philippe – Do you know Jongware's ExtendScript DOM documentation for InDesign?
Adobe InDesign CS6 (8.0) Object Model JS: Paragraph
Scroll through to "n" like "numberingAlignment" etc.pp. :-)
Also recommended, the CHM file versions for better searchability offline at:
Uwe
-
4. Re: [JS] numbering value Paragarphe
Philippe Ruelle Jun 18, 2014 5:22 AM (in response to Laubender)Yes, but my English is not very good, I use a PDF "Adobe Indesign CS2 Scripting Reference" in French! and it is not for days.
Oui, mais mon anglais n'est pas très bon, j'utilise un PDF "adobe Indesign CS2 Scripting Reference" en français!! et il n'est pas à jours.
-
5. Re: [JS] numbering value Paragarphe
Laubender Jun 18, 2014 5:45 AM (in response to Philippe Ruelle)Ah, yes. Understandable, this is a hurdle.
So I tried an automatic translation service from Google (English => French).
My French is not very good, in fact it's lousy, so see yourself, if it's worth a try:Funny things could happen this way… :-)
Like the Type of an object could be translated as well:
String => Chaîne
Which is very unfortunate.
Uwe


