Article View: adobe.scripting.indesign
Article #15313Re: bookcontent.status crashes InDesign
From: Teus_de_Jong
Date: Mon, 08 Dec 2003 12:43
Date: Mon, 08 Dec 2003 12:43
26 lines
1013 bytes
1013 bytes
Anyone with comment on this? I now use try .. except (in Delphi, in JS try .. catch would do the same job I think):
Instead of
if bc.status=idDocumentIsOpen open it
else
load it
I now use:
try open it
except
load it
end
But I'm still curious if it's a bug.
Teus de Jong
Technical Details
Message-ID:
<2ccea31a.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccea31a.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b9f10075290e1d4b X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-08 05:07:40 PST From: Teus_de_Jong@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: bookcontent.status crashes InDesign Message-ID: <2ccea31a.0@webx.la2eafNXanI> Date: Mon, 8 Dec 2003 04:43:05 -0800 References: <2ccea31a.-1@webx.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit