πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18717

Re: page from 1 document 2 an other

#18717
From: BATTISTELLI Laurent
Date: Mon, 24 Feb 2003 17:33
32 lines
1816 bytes
links will be broken but as I change the page from one document to an 
other I will not have any problem !
I have to create a method to can reuse the existing document so it's 
working ;-)

to activate a page  perhaps you can use the method

dim myIndesign As InDesign.Application
dim  mydocument As InDesign.Document

myIndesign.ActiveWindow.ActiveSpread = mydocument.Spreads.Item(nb)

nb is an integer

that will activate and so put this page as visualized page


Olav Kvern a οΏ½crit:
> Ben--
> 
> This is OK, though you guys know how much I hate select, copy, and paste via scripting.<g> Note, in addition, that this will break all text links from page to page.
> 




> There's not method for changing active spread/active window. All you need to do is set the active spread of the active window to a new spread object reference.
> 
> Thanks,
> 
> Ole
Technical Details
Message-ID: <3E5A5767.8010902@comidoc.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!news2.euro.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <3E54F73A.2060305@comidoc.fr> <1de7f166.5@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,354e3e03a5255de6
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-24 09:38:07 PST
From: BATTISTELLI Laurent <l.battistelli@comidoc.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!news2.euro.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: page from 1 document 2 an other
Message-ID: <3E5A5767.8010902@comidoc.fr>
Date: Mon, 24 Feb 2003 09:33:27 -0800
References: <3E54F73A.2060305@comidoc.fr> <1de7f166.5@WebX.la2eafNXanI>
Lines: 37
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: fr-fr, fr
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit