🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14751

Re: AS: How to set a value from some story?

#14751
From: Shane_Stanley
Date: Tue, 20 Jan 2004 09:11
21 lines
1366 bytes
On Jan 20, 2004, at 6:29 PM, Tomi Saloniemi wrote:

>  Is there a better way to address the story from which the script 
> searches and replaces items? It is always a story which is imported 
> last.

If it's still selected, you could try to search parent story of 
selection.
>
> Also i'm stuck when the document has to move to next page. Can't 
> figure out how to tell ID to change page at the right moment.

As of version 2, you have to work via spread:

set active spread of window 1 to spread x

Note it's window, not document. As of CS, you can set the active page.

--
Shane Stanley <sstanley@myriad-com.com.au>
Technical Details
Message-ID: <AEF6C7DA-4B28-11D8-B512-003065D61B90@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf74c7.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,7a8aba170806d376
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-20 01:37:36 PST
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: AS: How to set a value from some story?
Message-ID: <AEF6C7DA-4B28-11D8-B512-003065D61B90@myriad-com.com.au>
Date: Tue, 20 Jan 2004 01:11:51 -0800
References: <2ccf74c7.-1@webx.la2eafNXanI>
Lines: 22
X-Mailer: Apple Mail (2.609)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit