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

Re: Find insertionPoints[-1] and change

$
0
0

Hi,

 

Please use the below code, it may helpful:

 

 

app.findTextPreferences = app.changeGrepPreferences = null; 
app.findGrepPreferences.bulletsAndNumberingListType = ListType.BULLET_LIST; 
app.findGrepPreferences.findWhat = "^(\\l.+)(:$)"; 
app.changeGrepPreferences.changeTo = "$1;" 
app.activeDocument.changeGrep();

 

If above code helps for you, please provide helpful or correct answers for me.

 

Thanks

Beginner_X


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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