🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19341

place a image in a cell from a table (AS)

#19341
From: Armin.Egginger
Date: Fri, 03 Jan 2003 23:19
26 lines
1747 bytes
Hi,

I try to place my Image in a table, but I always get a display dialog ""InDesign 2.0.2 got an error: \"MacHD:Users:arminegginger:Documents:Novatec_folder:TPLogo2002.tif\" doesn't understand the place message." What is wrong? The file exists on the computer and the second script (place image outside from the table)functions.

set the_image to ("MacHD:Users:arminegginger:Documents:Novatec_folder:TPLogo2002.tif")
tell application "InDesign 2.0.2"
	set myDocument to active document
	tell cell 3 of table 1 of text frame 1 of page 1 of myDocument
			set myimageframe to place the_image
	end tell
end tell

--following script functions - but i need the image in the table
set the_image to ("Schockoflocke:Users:arminegginger:Documents:Novatec_folder:TPLogo2002.tif")
tell application "InDesign 2.0.2"
	set myDocument to active document
	tell page 1 of myDocument
		set myimageframe to place the_image place point {8, -13}
	end tell
end tell

Pls help - I don't know what I'm doing wrong.

Many thanks

Armin
Technical Details
Message-ID: <1de739fb.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4042d5c089e9a59,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-03 15:38:13 PST
From: Armin.Egginger <armin.egginger@gmx.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: place a image in a cell from a table (AS)
Message-ID: <1de739fb.-1@WebX.la2eafNXanI>
Date: Fri, 3 Jan 2003 15:19:17 -0800
Lines: 32
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit