🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8566

Re: Placing a snippet at a place point

#8566
From: Debilo
Date: Wed, 11 Oct 2006 13:13
10 lines
1184 bytes
Hi Martin,

you can't modify the place position of a snippet! In a snippet all coordinates are page related.

The place() method for a snippet does return nothing because there is no snippet object in indesign. So your variable mySnippet is alway null.
When a snippet is placed, the snippet contents (pageitems) are being placed...

So you can't do anything to position your snippet!

A possible workaround would be to group all items before exporting the snippet and assign a script label to that group. After importing the snippet locate the group and move it... ;-)
Technical Details
Message-ID: <3bc1efa0.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing
References: <3bc1efa0.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,54f501eadc926d56
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Debilo@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Placing a snippet at a place point
Message-ID: <3bc1efa0.1@webcrossing.la2eafNXanI>
Date: Wed, 11 Oct 2006 06:13:24 -0700
References: <3bc1efa0.-1@webcrossing.la2eafNXanI>
Lines: 15
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!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing