🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9583

Import text into a text frame

#9583
From: Eivind_Andersen
Date: Fri, 18 Aug 2006 12:37
14 lines
1053 bytes
Hi,

I'm currently working with importing with a script that should import a Word-document into an Indesign-template.

In the indesign template I've made a text frame that I want to import the text into. The problem is when I try to place in this frame, a new frame is created (?), and placed outside the original frame.

What am I doing wrong here:

tell document 1
	tell page 1
		set myPageFrame to item 1 of all page items
		place myTextFile on myPageFrame with autoflowing
	end tell
end tell
Technical Details
Message-ID: <3bc14e8a.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,15179d25c6022a6f,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Eivind_Andersen@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Import text into a text frame
Message-ID: <3bc14e8a.-1@webcrossing.la2eafNXanI>
Date: Fri, 18 Aug 2006 05:37:25 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing