🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19626

Re: Used Fonts

#19626
From: roberto soto
Date: Tue, 03 Dec 2002 20:26
15 lines
1187 bytes
Hi Wei,

This is an axample, you can use a loop for all stories, paragrahs and characters that you have in an open document and use myFont as you want.

Set myInDesign = CreateObject("InDesign.Application.2.0")
    Set myDocPage = myInDesign.ActiveDocument

Set myStory = myDocPage.Stories.Item(1)
    Set myParagraph = myStory.Paragraphs.Item(1)



myFont = myParagraph.Characters.Item(1).AppliedFont

Roberto
Technical Details
Message-ID: <1de6d1ca.3@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!colt.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6d1ca.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,31cea4b6138dcc7d
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-03 12:38:05 PST
From: "roberto soto" <roberto1soto@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!colt.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Used Fonts
Message-ID: <1de6d1ca.3@WebX.la2eafNXanI>
Date: Tue, 3 Dec 2002 12:26:00 -0800
References: <1de6d1ca.-1@WebX.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit