Article View: adobe.scripting.indesign
Article #1011Re: Arguments in called scripts
From: Harbs
Date: Fri, 20 Feb 2009 02:15
Date: Fri, 20 Feb 2009 02:15
9 lines
860 bytes
860 bytes
> Is there a way of detecting (other than try/catch)?
>
if(typeof arguments == "undefined"){arguments=[3,4]}
--
Harbs
http://www.in-tools.com
Technical Details
Message-ID:
<D6B6EDB17B2351AEA4CDFE9DEEF5FCBD@in.webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7fbaf.-1@webcrossing.la2eafNXanI> <59b7fbaf.2@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,6bc17fce89208641 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Harbs Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Arguments in called scripts Message-ID: <D6B6EDB17B2351AEA4CDFE9DEEF5FCBD@in.webcrossing.la2eafNXanI> Date: Thu, 19 Feb 2009 18:15:12 -0800 References: <59b7fbaf.-1@webcrossing.la2eafNXanI> <59b7fbaf.2@webcrossing.la2eafNXanI> Lines: 10 User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit