Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Tagging italics question

$
0
0

I've created two grep queries that I use to tag the italics of placed text. Then I manually apply the Basic Paragraph clear overides style. Then I run another Grep querry that takes the words and sentences that have the tags and applies an italic style that I created in the Character style pallet. Here is my Grep Querry for find and Tag italics.

 

Find What:

(.+)

 

Change to:

[i]$1[/i]

 

Find Format:

+Italic

 

Here is My Querry for appling italic character style to tagged text.

 

Find What:

(\[\i\])(.+?)(\[/\i\])

 

Change to:

$2

 

What I'm wondering is if this all could be run from a javascript including applying the Basic Paragraph clear overrides part. I'm not sure where to even begin as I'm new to scripting. Any help would be very appriciated. Thanks.


Viewing all articles
Browse latest Browse all 15932

Latest Images

Trending Articles



Latest Images

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