🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9476

Placing pdf files to precise coordinates

#9476
From: Mark_Knoll
Date: Mon, 21 Aug 2006 19:49
12 lines
1343 bytes
We place a lot of multipage pdfs into InDesign using the PlaceMultipagePDF.as script that is one of the example scripts in the InDesign Scripting Guide. This script, however, places the pdf files aligned with the top and left of the InDesign page. I would like to place them an arbitrary distance from the top left corner, though, and thought I could modify the PlaceMultipagePDF script using the "move" method:

			tell myPage
				set myPDFPage to place myPDF
				move myPDF to {"2p", "6p"}
			end tell

but when I run the script I get "Error Number: -1708 Error String: Adobe InDesign CS2 got an error: alias "path-to-filename-of-pdf" doesn't understand the move message" (where "path-to-filename-of-pdf" is the actual path, of course).

Any ideas?

Thanks very much in advance.
Technical Details
Message-ID: <3bc1572e.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,6463bacfaf3b55b3,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Mark_Knoll@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Placing pdf files to precise coordinates
Message-ID: <3bc1572e.-1@webcrossing.la2eafNXanI>
Date: Mon, 21 Aug 2006 12:49:04 -0700
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing