Article View: adobe.scripting.indesign
Article #1640Re: Align to page
From: Shane_Stanley
Date: Thu, 29 Jan 2009 22:29
Date: Thu, 29 Jan 2009 22:29
21 lines
2210 bytes
2210 bytes
On 29/1/09 10:50 AM, "Olav Kvern" <member@adobeforums.com> wrote: > If you're running from the Scripts panel, I'm not aware of any advantage to > saving as a compiled script over saving as a text file. What am I missing? Speed. If you save as text, the file has to be converted to AppleScript tokens before it's run. How much time this takes can vary from next to nothing to quite dramatic -- for example, if your script also addresses another app, it means loading another dictionary. You also lose the ability to use persistent properties, you're more susceptible to problems with terminology changes, and in some cases you risk problems with different text encodings. You also avoid some potential problems when moving between versions. Against that, I see few cons. The fact that you *can* run text files is a good thing, and in some cases useful. But as a default, IMO, it doesn't make sense. -- Shane Stanley <sstanley@myriad-com.com.au> AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
Technical Details
Message-ID:
<C5A878E5.4DE7E%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7b3c0.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fe5c0c23f23493 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Shane_Stanley@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Align to page Message-ID: <C5A878E5.4DE7E%sstanley@myriad-com.com.au> Date: Thu, 29 Jan 2009 14:29:09 -0800 References: <59b7b3c0.-1@webcrossing.la2eafNXanI> Lines: 27 Received: from outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107] by adobeforums.com; Thu, 29 Jan 2009 14:29:43 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQAAHu8gUl8qCrb/2dsb2JhbAAIzD+EEAY X-IronPort-AV: E=Sophos;i="4.37,346,1231081200"; d="scan'208";a="431557738" Received: from unknown (HELO [10.1.1.4]) ([124.168.42.219]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 30 Jan 2009 07:29:11 +0900 User-Agent: Microsoft-Entourage/12.15.0.081119 Thread-Topic: Align to page Thread-Index: AcmCYQCVxMYvIRmwbESlV05wYua8NA== MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit