🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8976

Adding words to textframe

#8976
From: Gerd_Haeussler
Date: Mon, 18 Sep 2006 12:04
20 lines
1028 bytes
Hi, need something like this:

frame = myPage.textFrames.add();

// adding words to textframe

var word = AddWord("word1", frame);
word.appliedFont = "Arial";
// set some more properties...

var word = AddWord("word2", frame);
word.appliedFont = "Arial Bold";
// set some more properties...

// do this with several words...

It's not clear to me, how i could add words to existing contents of a text frame and how to get a reference to the added word.

Thanks!
Gerd
Technical Details
Message-ID: <3bc1ab36.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,30206a47f81fed6b,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Gerd_Haeussler@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Adding words to textframe
Message-ID: <3bc1ab36.-1@webcrossing.la2eafNXanI>
Date: Mon, 18 Sep 2006 05:04:57 -0700
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit