Article View: adobe.scripting.indesign
Article #18082Re: First AppleScript (AS) [large script in body]
From: Olav Kvern
Date: Mon, 28 Apr 2003 19:18
Date: Mon, 28 Apr 2003 19:18
13 lines
1476 bytes
1476 bytes
Chris-- Here's a crutch for VB scripters coming to AppleScript--where you would use the "Split" method in VB, think "text item delimiters" in AppleScript.<g> Also, where you would normally use iteration in VB, try using a filter (i.e., "whose") clause. This can speed up AppleScript performance tremendously. re: links and updates When you update or relink a link, the original link is destroyed. That's why the methods return a new link object. If you don't reassign the link variable object to the new object, you can easily end up working with an invalid object reference. Next, if you're working with indexed links, note that the new link appears at a different index than the original link. Thanks, Ole
Technical Details
Message-ID:
<1de8e697.3@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<BAD2346B.21A%ChrisH@OvationAdvertising.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,a14109d39133ad8c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-28 12:39:51 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: First AppleScript (AS) [large script in body] Message-ID: <1de8e697.3@WebX.la2eafNXanI> Date: Mon, 28 Apr 2003 12:18:19 -0700 References: <BAD2346B.21A%ChrisH@OvationAdvertising.com> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit