🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #47

Edit script to be usable in CS3 (place Specific Asset on Page)

#47
From: KEL_DOUGAL
Date: Thu, 02 Apr 2009 07:14
13 lines
1172 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: <59b87a73.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2f274ed16856cf45,start
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!news1.google.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Edit script to be usable in CS3 (place Specific Asset on Page)
Message-ID: <59b87a73.-1@webcrossing.la2eafNXanI>
Date: Thu, 2 Apr 2009 00:14:31 -0700
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit