🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18567

Duplicate a page (AS)

#18567
From: Jim Heissenbuttel
Date: Tue, 11 Mar 2003 23:55
22 lines
1223 bytes
I am looking for a way to efficiently duplicate a page in InDesign using
AppleScript. Below is the script that does not seem to work.


tell application "InDesign 2.0.2"
        tell document 1
            set myNewPage to make page at end of document 1
        end tell
        tell page 1 of document 1
            select all page items
            copy
        end tell
        tell page 2 of document 1
            paste
        end tell
end tell


Any ideas would be appreciated.


Jh
Technical Details
Message-ID: <BA93B78E.63C%jimh@rainiercolor.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,2a5faac8a99ae857,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-03-11 16:07:52 PST
From: Jim Heissenbuttel <jimh@rainiercolor.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Duplicate a page (AS)
Message-ID: <BA93B78E.63C%jimh@rainiercolor.com>
Date: Tue, 11 Mar 2003 15:55:58 -0800
Lines: 24
User-Agent: Microsoft-Entourage/10.1.1.2418
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit