Article View: adobe.scripting.indesign
Article #16109Re: "Bolding" all words before hyphen in classifieds...advice please?
From: Christine_Holzmann
Date: Thu, 16 Oct 2003 02:41
Date: Thu, 16 Oct 2003 02:41
6 lines
1891 bytes
1891 bytes
Okay....I have tried out the scripts...the first one works PERFECTLY!! Thanks VERY MUCH DAVE:)) This is EXACTLY what we needed!! (We are going to celebrate tomorrow....:) As you directed, I changed the names of the property to have our paragraph styles we were referencing and I also changed the character style in the script to match exactly the name of the character style we are using � I did not want to have a character style that read just as "bold" because we needed something more specific such as "classified bold" for example. Jay, I tried out yours but it is not taking:(( Is it because there is no place in the script where I can reference my specific paragraph styles? As suggested I changed the regular hyphen in the 4th line of the script to an em dash (which is what we use in the classifieds just after the words we need bolded) but after applying the script, everything just turns to pink....as if it cannot find the hyphens (em dashes). (P.S. I am a COMPLETE NEWBIE at scripting so pls. bear with me if my questions sound a bit "dumb" :)
Technical Details
Message-ID:
<2ccddd2c.8@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccddd2c.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,b3734101a930c616 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-10-15 20:08:33 PST From: Christine_Holzmann@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: "Bolding" all words before hyphen in classifieds...advice please? Message-ID: <2ccddd2c.8@webx.la2eafNXanI> Date: Wed, 15 Oct 2003 19:41:18 -0700 References: <2ccddd2c.-1@webx.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit