🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9188

Re: [CS/JS] Clear characters overrides

#9188
From: Dave_Saunders
Date: Sun, 10 Sep 2006 11:58
7 lines
1121 bytes
Instead of using app.place (which according to the Reference returns nothing), why not use page.place (see page 925 of the reference) which returns a reference to the placed item?

Using app.place forces you to manually place the item and leaves it selected, so if you do go that route, you can then get what you just placed using:

app.selection[0];

Dave
Technical Details
Message-ID: <3bc07328.19@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!news.motzarella.org!news.isoc.lu!webcrossing
References: <3bc07328.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e613adfbebdcced0
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!news.motzarella.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS/JS] Clear characters overrides
Message-ID: <3bc07328.19@webcrossing.la2eafNXanI>
Date: Sun, 10 Sep 2006 04:58:10 -0700
References: <3bc07328.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit