🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9468

Re: Formatting Fonts in TextFrames with JavaScript

#9468
From: Martin Fischer*
Date: Mon, 21 Aug 2006 14:34
7 lines
1036 bytes
The simpliest way to format font in a textframe is to work with paragraph styles and to assign them (myFrame.paragraphs.everyItem().appliedParagraphStyle = myParagraphStyle).

You can use object styles too (with applied paragraph style myParagraphStyle).

But at least you can apply fonts without using paragraph styles too: myFrame.paragraphs.everyItem().appliedFont = myFont.

Martin
Technical Details
Message-ID: <3bc155d2.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing
References: <3bc155d2.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,17d528cc5b8e0e0c,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Martin Fischer*" <martin.fischer@online.de>
Newsgroups: adobe.scripting.indesign
Subject: Re: Formatting Fonts in TextFrames with JavaScript
Message-ID: <3bc155d2.0@webcrossing.la2eafNXanI>
Date: Mon, 21 Aug 2006 07:34:20 -0700
References: <3bc155d2.-1@webcrossing.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing