🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15529

Re: Undefined Object Blues

#15529
From: Dave_Saunders
Date: Sun, 23 Nov 2003 22:14
11 lines
1315 bytes
Oh boy. Now I'm trying to run this script on a section where myTemp = myFormatsFrame.label ought not to cause and error, but it is.

Using breakpoints, after setting myFormatsFrame, the debugger shows that it is a TextFrame.

And yet, the attempt to get its label pulls an error, and then if I inspect myFormatsFrame in the debugger, it tells me that myFormatsFrame is an undefined object.

What little was left of my mind is fast disappearing. How can this be? The object is losing its identity when I set ppos to zero? I don't think so.

Well, since I know which path I want the script to take for this section, I'm going to try forcing it down that path and see what happens.

Dave
Technical Details
Message-ID: <2cce8972.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce8972.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,5572ac4b7c018113
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-23 14:37:53 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Undefined Object Blues
Message-ID: <2cce8972.1@webx.la2eafNXanI>
Date: Sun, 23 Nov 2003 14:14:48 -0800
References: <2cce8972.-1@webx.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit