🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10013

Re: Dynamic 'go to page'

#10013
From: chadedge
Date: Wed, 12 Jul 2006 18:22
12 lines
1534 bytes
UPDATE:

OK, it looks like I got it to work fine. A little bit of a string
issue, perhaps a little syntax, I'm not sure. Either way, here's what
works:

var myWindow = app.activeWindow
var activePageString = app.activeDocument.pages[pageNumber-1].parent;
app.activeWindow.activeSpread = activePageString;
myWindow.zoom(ZoomOptions.fitPage);

hooray, javascript!
Technical Details
Message-ID: <1152728576.263986.301220@s13g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!s13g2000cwa.googlegroups.com!not-for-mail
References: <1152727406.221151.67400@m73g2000cwd.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e962ef986586b0b2
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!s13g2000cwa.googlegroups.com!not-for-mail
From: "chadedge" <chadedge@gmail.com>
Newsgroups: adobe.scripting.indesign
Subject: Re: Dynamic 'go to page'
Date: 12 Jul 2006 11:22:56 -0700
Organization: http://groups.google.com
Lines: 13
Message-ID: <1152728576.263986.301220@s13g2000cwa.googlegroups.com>
References: <1152727406.221151.67400@m73g2000cwd.googlegroups.com>
NNTP-Posting-Host: 192.251.219.11
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1152728582 12897 127.0.0.1 (12 Jul 2006 18:23:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Jul 2006 18:23:02 +0000 (UTC)
In-Reply-To: <1152727406.221151.67400@m73g2000cwd.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Opera/9.00 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: s13g2000cwa.googlegroups.com; posting-host=192.251.219.11;
   posting-account=dtLIOw0AAADTp7Kcfd83rXEJOwFY3oYP