🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19418

Re: Scripting the Library

#19418
From: Kari Puikkonen
Date: Wed, 18 Dec 2002 17:43
26 lines
1342 bytes
Hoo Hoo!

How do place stuff from library to certain layer via scrpting?

I would like to either:

A) Activate certain layer before I run Olav's script.

or

B) Move placed stuff to certain layer after I have run Olav's script.

I tried this for B, but without success:



tell application "InDesign 2.0.2" 
	tell document 1 
		set myLayer to layer "Graphic layer" 
		move (page items whose content type is graphic) to myLayer 
	end tell 
end tell



Kari the Ever Confused
Technical Details
Message-ID: <1de70826.7@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de70826.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,908e760c2ea9fcae
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-18 10:07:45 PST
From: "Kari Puikkonen" <kari.puikkonen@welho.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Scripting the Library
Message-ID: <1de70826.7@WebX.la2eafNXanI>
Date: Wed, 18 Dec 2002 09:43:14 -0800
References: <1de70826.-1@WebX.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit