Article View: adobe.scripting.indesign
Article #14837Re: JS beginners help
From: Olav_Kvern
Date: Tue, 13 Jan 2004 21:58
Date: Tue, 13 Jan 2004 21:58
13 lines
1517 bytes
1517 bytes
Roy--
Just to back up a bit--we have no plans to drop support for platform specific languages (either AppleScript or VB/VBScript). If you need to communicate with other applications, you'll still need to use the platform-specific scripting language. In addition, there are advantages and disadvantages to all of the languages--you should be able to choose the one that best suits you and your project. Our goal is to *increase*, rather than *reduce* the number of supported languages.<g>
Regarding { and }--use them to surround the statements inside "if", "with", and "for" constructions (they're not required for single-statements "if", but I use them anyway). We also use them to set off lists of properties in "add" methods, as in:
var myRectangle = app.activeWindow.activePage.rectangles.add(undefined, undefined, undefined, {strokeWeight:.25});
Thanks,
Ole
Technical Details
Message-ID:
<2ccf45cf.12@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf45cf.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,613db9f5b5ffc527 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-13 14:08:06 PST From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: JS beginners help Message-ID: <2ccf45cf.12@webx.la2eafNXanI> Date: Tue, 13 Jan 2004 13:58:22 -0800 References: <2ccf45cf.-1@webx.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit