Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

How to write data at the end of doc in reverse order?[CS6-jsx]

$
0
0

I need to move all my spec texts entries at et end of doc. To keep correct reference in all found entries i have to process in reverse order

for (i = mFound.length-1; i>=0; i--){

 

...etc

 

but can't to think up, how to place entries in write order at the end.

 

String:

mStory.insertionPoints.item(-1).select();

app.paste();

 

does not work properly (of course). It makes this:

 

10.

9.

8.

7.

6.

...etc

How to get

1.

2.

3.

4.

...etc

?


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>