Article View: adobe.scripting.indesign
Article #8760Re: JS to copy spreads of docs of a directory to a new document
From: Dirk_Becker
Date: Mon, 25 Sep 2006 12:27
Date: Mon, 25 Sep 2006 12:27
7 lines
1482 bytes
1482 bytes
Have a look at the output of the toSpecifier() method. When the scripting engine talks to InDesign, it uses something close to that data to address the object. This might be the name (for file based objects such as documents, books, libraries), the ID within such a document, or in the case of preferences, a named property of the application. Have a look at a few samples in ESTK, use the console there. If the criteria changes ( object removed, renamed or closed ) this should turn into an invalid reference in ESTK object browser - the red circle on the triangle. You probably found a place in the execution chain where someone failed to check for this possibility. Dirk
Technical Details
Message-ID:
<3bc1c201.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossingReferences:
<3bc1c201.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d496ada15f5bb3fa X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dirk_Becker@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: JS to copy spreads of docs of a directory to a new document Message-ID: <3bc1c201.2@webcrossing.la2eafNXanI> Date: Mon, 25 Sep 2006 05:27:52 -0700 References: <3bc1c201.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit