🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #46

Re: Place Specific Library - "Place Item"

#46
From: KEL_DOUGAL
Date: Thu, 02 Apr 2009 07:07
13 lines
1131 bytes
Can someone help me edit this script to be usable in InDesign CS3

myLib = app.libraries.item("Library.indl");
myFounds = app.activeDocument.search("[SampleLibrary Asset]");
for (j = myFounds.length - 1; j >= 0; j--) {
 app.select(myFounds[j]);
 myLib.assets.item("[SampleLibrary Asset]").placeAsset(app.activeDocument);
}

This use to work in InDesign CS2 but it not working in C2.
 I tried placing the script to /Applications/Adobe InDesign CS3/Scripts/Scripts Panel/Version 4.0 Scripts /. But it did not help.

Thanks in advance.
Technical Details
Message-ID: <59b6abf3.12@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b6abf3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d2e95501251672d8
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: KEL_DOUGAL@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Place Specific Library - "Place Item"
Message-ID: <59b6abf3.12@webcrossing.la2eafNXanI>
Date: Thu, 2 Apr 2009 00:07:18 -0700
References: <59b6abf3.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit