πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16937

What's wrong here?

#16937
From: John Darnell
Date: Tue, 22 Jul 2003 14:08
20 lines
1567 bytes
FοΏ½ilte Fellow Scripters:

In library One, I declare a global (I tried it as a property and it didn't work either) called LeftFolioCoords. In an initialization handler, I filled it with the following values:

set LeftFolioCoords to {CTop:0,CLeft:0, CRight:0, CBottom:0}

In library Two, I also declare the global and then in a handler I attempt the following:

display dialog "I am at this point."
display dialog "Class of LeftFolioCoords is " & class of LeftFolioCoords

Dialog statement one gets executed. Dialog statement two does not, and the script crashes.

Does anyone see what might be happening?

I've checked all the obvious, such as spelling, etc., and found nothing, so it must be, once again, my lack of understanding of globals and perhaps records in Applescript.

TIA,

John
Technical Details
Message-ID: <1dea0430.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,67e630ba56f7917c
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-07-22 07:38:08 PST
From: "John Darnell" <John.Darnell@Walsworth.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: What's wrong here?
Message-ID: <1dea0430.-1@WebX.la2eafNXanI>
Date: Tue, 22 Jul 2003 07:08:06 -0700
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit