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

Re: It is possible to script a decimal approximation in Indesign?

$
0
0

Trevor,

 

Thanks again for the whole script skeleton!

(I must confess that my programming skills are just for minor grep holydays tasks)

It is a precious piece!

Not to mention free of charge, Vat, taxes, etc. and delivered in minutes, doar to doar.

 

And is very very fast!

60 tables were processed in 4-5 seconds.

 

 

I tried unsuccessfully to insert this line:

 

{

currentTable = app.selection[0].parent;

}

 

as now is changing all the number in the document but seems the instruction lacks a second command.

 

 

The Grep formula worked very good:

 

(?<=\\D)\\d{1,2},\\d{1,2}(?=\\D)

 

although it should rewritten without the double slash:

 

(?<=\D)\d{1,2},\d{1,2}(?=\D).

 

Camilo.


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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