🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15351

Re: Applied Font Issues

#15351
From: Shane_Stanley
Date: Tue, 09 Dec 2003 00:04
26 lines
1293 bytes
I've found the same as Ole -- the following works fine:

tell application "InDesign CS"
	tell document 1
		tell story 1
			set properties of character 1 to {applied font:"Myriad Pro", font 
style:"Regular"}
		end tell
	end tell
end tell

In fact, that way makes more sense to me anyway.

However, there is something screwy somewhere -- the following takes 
ages, and sometimes crashed ID CS:

tell application "InDesign CS"
	tell document 1
		tell story 1
			properties of applied font of character 1
		end tell
	end tell
end tell

--
Shane Stanley <sstanley@myriad-com.com.au>
Technical Details
Message-ID: <46A95104-29DB-11D8-A6BC-003065D61B90@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccec789.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f6ff0a598aa4e18a
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-08 16:07:55 PST
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Applied Font Issues
Message-ID: <46A95104-29DB-11D8-A6BC-003065D61B90@myriad-com.com.au>
Date: Mon, 8 Dec 2003 16:04:36 -0800
References: <2ccec789.-1@webx.la2eafNXanI>
Lines: 27
X-Mailer: Apple Mail (2.606)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit