🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8223

Re: Scripts not seen

#8223
From: Dave_Saunders
Date: Tue, 24 Oct 2006 18:20
9 lines
1809 bytes
That message Invalid object for this request cost me a couple of hours just the other afternoon. I finally sussed it, as follows:

When working with inline or anchored frames, the scripting engine can become out-of-touch with the position of the object. This is the result of a sensible decision by the engineers to disable redrawing the screen and recomposing the stories as a script runs, unless an action requires it. The result is that scripts run much faster. Unfortunately, the scripting engine fails to perform the auto-recompose in this case, so the script has to perform the function. At least CS2 includes the recompose() method, in CS you had to finagle it by performing an operation that would force a recompose (such as getting the number of characters in the last text frame of a story).

Have we established that the missing scripts are indeed being saved as plain text files? Is there any chance that there's more than one copy of InDesign on the machine and the scripts are being placed in the folder of the version that isn't running?

Scraping the barrel here.

Dave
Technical Details
Message-ID: <3bc0a3b7.13@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0a3b7.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5c06a98f0dce6620
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Scripts not seen
Message-ID: <3bc0a3b7.13@webcrossing.la2eafNXanI>
Date: Tue, 24 Oct 2006 11:20:12 -0700
References: <3bc0a3b7.-1@webcrossing.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!news.ecp.fr!news.stben.net!webcrossing