🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8153

Change Font style after an "event" within a string of text???

#8153
From: Eric_Wheatley
Date: Mon, 06 Nov 2006 17:04
17 lines
1662 bytes
Good Afternoon-

I have a question regarding scripting. I am not too familiar with scripting, and have never used it in InDesign.

To view the project that I am refering to, look at the below images.


I have created a file of a business card, and we are posting it on our website for online ordering. When the client sees the blank business card, they will fill in the fields and a jpeg preview will be generated. When the proof is approved, they will hit a submit button, which will send to us a Jpeg proof, as well as an XML document to be imported into the InDesign document.

What I need to do is create a Script to change from one font to another after a " , " comma is introduced. Can this be done with a script?

In the top text box, where there is the Name "Eric Wheatley, PHD" I would like to have a script that changes the Font from one style to another. In Example, I would like the ERIC WHEATLEY text to be in ALL CAPS in Caslon Bold, the PhD part, I would like to be arial italic?

Can this be achieved with a simple script??

thank you
Eric
Technical Details
Message-ID: <3bc231d7.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7be761c01c7cf9eb
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Eric_Wheatley@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Change Font style after an "event" within a string of text???
Message-ID: <3bc231d7.-1@webcrossing.la2eafNXanI>
Date: Mon, 6 Nov 2006 09:04:19 -0800
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit