🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15368

Applying Fonts in ID CS

#15368
From: Cliff_Strange
Date: Mon, 01 Dec 2003 02:08
17 lines
1317 bytes
Hi

I am trying to change a character to Helvetica Neue Condensed in a script.

I have some characters selected, then I loop from their starting index to number of characters plus 1. I am saying:

set applied font of character loopVar of parent story to "Helvetica Neue\tCondensed"

This puts "Helvetica Neue Condensed" into the font field and nothing into the font style field of ID.

Can someone tell me where I am going wrong?

If I create a character style which just changes the font and font style I can change applied font to applied character style and it works perfectly.

Many thanks in advance.

Cliff
Technical Details
Message-ID: <2cceaa13.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,32b5b6a533a0a4df,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-30 18:37:49 PST
From: Cliff_Strange@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Applying Fonts in ID CS
Message-ID: <2cceaa13.-1@webx.la2eafNXanI>
Date: Sun, 30 Nov 2003 18:08:20 -0800
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit