🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8949

Re: [AS CS2] Applied style doesn't recognize "Medium'

#8949
From: Karen_S_Nielsen
Date: Thu, 21 Sep 2006 17:17
18 lines
1515 bytes
Hi-

I have a script that sets two lines of text. The first line is suppose to be in Helvetica medium and the second line in Postnet.

The first line always shows up in pink in InDesign with [Roman] in the font style.

If I change the code to Times Roman, that works fine. Why won't my Helvetica work?

set mylabel to label of selection



		tell text frame mylabel
			set vertical justification of text frame preferences to bottom align
			set contents to barcode_final & return & barcode_final
			set properties of paragraph 1 to {applied font:"Times", font style:"Roman", point size:"8pt", fill color:myMarksheetColor, leading:14}
			set properties of paragraph 2 to {applied font:"Postnet", font style:"Regular", point size:"18pt", fill color:"Black", leading:10}
		end tell
Technical Details
Message-ID: <3bc1b9f8.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing
References: <3bc1b9f8.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fed856737519e91f
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Karen_S_Nielsen@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [AS CS2] Applied style doesn't recognize "Medium'
Message-ID: <3bc1b9f8.0@webcrossing.la2eafNXanI>
Date: Thu, 21 Sep 2006 10:17:30 -0700
References: <3bc1b9f8.-1@webcrossing.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit