Article View: adobe.scripting.indesign
Article #1172Re: [JS CS4] Why is this If Else test not working?
From: Dave_Saunders
Date: Wed, 18 Feb 2009 17:44
Date: Wed, 18 Feb 2009 17:44
9 lines
950 bytes
950 bytes
You are looking at the right thing. There is a guide available in ESTK's Help menu that's pretty good, I think. Try using the JavaScript Console. With the script at the breakpoint type: myReport.constructor.name into the Console and see what you get. If it says String, then there must be an invisible character in there of some kind. Dave
Technical Details
Message-ID:
<59b7f983.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7f983.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d713958badc61099 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS CS4] Why is this If Else test not working? Message-ID: <59b7f983.2@webcrossing.la2eafNXanI> Date: Wed, 18 Feb 2009 09:44:29 -0800 References: <59b7f983.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit