Article View: adobe.scripting.indesign
Article #14997Looking for a character style script
From: Elaine_Karamol
Date: Thu, 08 Jan 2004 19:19
Date: Thu, 08 Jan 2004 19:19
20 lines
1737 bytes
1737 bytes
I am looking for a script for the following... I have over 18,000 lines of text-not in a table but set up in columns with text flow from column to column. There are tabs between each item and a return at the end of each line of text. Everytime the word Series appears, I want the text line to change to a different character style--only the line that starts with Series. I want the rest of the text (the line above and below it) to remain in its current type style. Besides setting up the two character styles, is there a script that can change this for me or is a manual process of selecting the line and "clicking" the style I want my only choice. A sample of one column is as follows: 23 M897 1/2 End Mill 49.00 97332<return> Series M897 - Metric <return> 23 M897 6,0 End Mill 25.70 31277<return> 23 M897 8,0 End Mill 33.45 31278<return> 23 M897 10,0 End Mill 44.85 31279<return> Series M898 - Inch<return> 23 M898 1/4 End Mill 31.25 31163<return> 23 M898 3/8 End Mill 48.65 90304<return> 23 M898 1/2 End Mill 70.75 90305<return> 23 M898 5/8 End Mill 100.85 90160<return> Any thoughts would be appreciated. Elaine
Technical Details
Message-ID:
<2ccf426d.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e24833c7dbe1d5bc,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-08 11:38:08 PST From: Elaine_Karamol@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Looking for a character style script Message-ID: <2ccf426d.-1@webx.la2eafNXanI> Date: Thu, 8 Jan 2004 11:19:58 -0800 Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit