🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20249

Re: [AS] How can I view page X ?

#20249
From: Olivier Berquin
Date: Thu, 01 Aug 2002 07:24
24 lines
1371 bytes
Hi Olav, 

I wrote this script: 
 
tell application "InDesign 2.0.1" 
��set MyWindow to active window 
��tell document 1 
����make page at end 
����tell last page 
������set TheMainFrame to make text frame with properties {geometric bounds:{"29 mm", "12 mm", "285 mm", "198 mm"}} 
������select TheMainFrame 
������tell MyWindow 
��������zoom given fit page 
������end tell 
����end tell 
��end tell 
end tell 
 
It works only when I create a right page and when the left page is selected. 
How can I do this to works in every case ? 

Thanks, 

Olivier.
Technical Details
Message-ID: <ef9f3a1.2@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!sienna.impulse.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9f3a1.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,32dad23da929126e
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-08-01 00:46:46 PST
From: "Olivier Berquin" <ob@microscript.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!sienna.impulse.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: [AS] How can I view page X ?
Message-ID: <ef9f3a1.2@WebX.aaQKaf7vad4>
Date: Thu, 1 Aug 2002 00:24:22 -0700
References: <ef9f3a1.-1@WebX.aaQKaf7vad4>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit