Article View: adobe.scripting.indesign
Article #113Re: Place Specific Library - "Place Item"
From: Dave_Saunders
Date: Thu, 02 Apr 2009 12:30
Date: Thu, 02 Apr 2009 12:30
13 lines
1242 bytes
1242 bytes
The first problem with your script, Kel, is that it uses the CS2 search mechanism. Search this forum for "findText" to find examples of how to do searches in CS3/4. Also, I don't think it is necessary to select text any more in order to place an asset inline/anchored. You can now place an asset on text: Asset.placeAsset (on:any):Array of any Adobe InDesign CS4 (5.0) Object Model Places the asset in the specified document or text. on: Data Type: any The document or text object in which to place the asset. Can accept: Document or Text. That's from the CS3 object model as represented in CS4. Dave
Technical Details
Message-ID:
<59b6abf3.14@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossingReferences:
<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: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Place Specific Library - "Place Item" Message-ID: <59b6abf3.14@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 05:30:47 -0700 References: <59b6abf3.-1@webcrossing.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit