Article View: adobe.scripting.indesign
Article #19113Re: Scripts that fail from Palette
From: Dave Saunders
Date: Sat, 18 Jan 2003 21:44
Date: Sat, 18 Jan 2003 21:44
13 lines
1838 bytes
1838 bytes
Talk about going from the sublime to the cor blimey. Now I have a script that works from the palette but not from Script Debugger. Aaaargh. It nearly works from script debugger, but a group is misbehaving at one point. The group, which starts out as an asset in a library consisting of two shadowed boxes (one to hold a figure, the other the figure number and caption), is brought inline and populated. But I have to change the size of the two boxes to accommodate various rules laid on me by the client. When I run from the palette it works properly, but when I run it from Script Debugger, very late in the game the figure number text frame gets pushed left by about two inches. Aha! It happens when I reset the height of the other frame. This is totally weird. Why should changing the height of one frame in a group (which happens to be inline at the time -- perhaps I should make the group out of line and move it inline when I've finished) affect the position of the other frame in the group? And why should it only do so when run from an external editor. I'm getting a headache. Dave
Technical Details
Message-ID:
<1de76d0e.5@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de76d0e.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,50cdc56b84d3d053 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-18 14:08:07 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Scripts that fail from Palette Message-ID: <1de76d0e.5@WebX.la2eafNXanI> Date: Sat, 18 Jan 2003 13:44:45 -0800 References: <1de76d0e.-1@WebX.la2eafNXanI> Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit