Article View: adobe.scripting.indesign
Article #8251Re: Export To PDF using a Preset
From: Dave_Saunders
Date: Wed, 25 Oct 2006 13:58
Date: Wed, 25 Oct 2006 13:58
7 lines
1139 bytes
1139 bytes
No, that doesn't mean it exists; it can exist and be null. It's actually an object specifier. It is possible to reference an object like this before you create it. One of JavaScript's really advanced features that's more likely to cause newcomers problems that actually do anybody any good. To test for existence, you have to use: if (myPDFExportPreset != null) Dave
Technical Details
Message-ID:
<3bc2134d.11@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!195.62.97.14.MISMATCH!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!news.albasani.net!news.isoc.lu!news.stben.net!webcrossingReferences:
<3bc2134d.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e6488cc6320e7b31 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Export To PDF using a Preset Message-ID: <3bc2134d.11@webcrossing.la2eafNXanI> Date: Wed, 25 Oct 2006 06:58:12 -0700 References: <3bc2134d.-1@webcrossing.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!195.62.97.14.MISMATCH!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!news.albasani.net!news.isoc.lu!news.stben.net!webcrossing