Article View: adobe.scripting.indesign
Article #18891Re: getting stuff out of a library? (AS)
From: Dave Saunders
Date: Wed, 29 Jan 2003 21:30
Date: Wed, 29 Jan 2003 21:30
16 lines
1329 bytes
1329 bytes
tell application "InDesign 2.0.2" set myAsset to asset 1 of library "MyLib" whose name is "Fred" place myAsset on document 1 set myItem to item 1 of selection end tell If you want it as an inline graphic then you must select the insertion point before issuing the place command, and now the item is not selected, so: tell application "InDesign 2.0.2" set myAsset to asset 1 of library "MyLib" whose name is "Fred" select insertion point myIndex of myStory place myAsset on document 1 set myItem to page item 1 of character myIndex of myStory end tell Dave
Technical Details
Message-ID:
<1de79be1.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<15756D93605123ADD474EA04121D11C2@in.WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,2b29f99272b4cd96,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-29 13:38:08 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: getting stuff out of a library? (AS) Message-ID: <1de79be1.0@WebX.la2eafNXanI> Date: Wed, 29 Jan 2003 13:30:47 -0800 References: <15756D93605123ADD474EA04121D11C2@in.WebX.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit