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

Re: Delete character in file names

$
0
0

Hi Mi_D, 

 

Thanks for your support.

 

The above script works, only if the file has the same format. like below.

 

XX_5182179_ETERNITY_25TH_MB_AB_XYX_abc.ttjs

 

 

The rest of the file name remain unchanged.

 

because file names are not in same format..

 

varying... like below

 

XX_5182000_ETERNITY_25TH_XX_GUIDELINES_SIMPLE_GUIDELINES.ttjs,

XX_5185555_FER_31ST_AN_123_SIMPLE.ttjs


SO, we need to retain only the XX and digits and the last .ttjs extension.

 

i.e.

 

XX_(any digits here).ttjs

 

many thanks for the previous and future support.


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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