🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9034

Re: Object is invalid, and I'm not sure why

#9034
From: Dave_Saunders
Date: Wed, 13 Sep 2006 15:19
7 lines
856 bytes
This is JavaScript, right?

Don't forget that JS counts from zero. You need:

var activePage = workingDoc.pages[workingDoc.pages.length - 1];

Dave
Technical Details
Message-ID: <3bc199cc.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossing
References: <3bc199cc.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,3a68c910e3df7844
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Object is invalid, and I'm not sure why
Message-ID: <3bc199cc.0@webcrossing.la2eafNXanI>
Date: Wed, 13 Sep 2006 08:19:06 -0700
References: <3bc199cc.-1@webcrossing.la2eafNXanI>
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit