🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #641

Re: Applescript or Javascript?

#641
From: Shane_Stanley
Date: Wed, 11 Mar 2009 10:56
26 lines
2506 bytes
On 11/3/09 9:12 PM, "jongware" <member@adobeforums.com> wrote:

> If you ever, EVER consider a platform transfer, or -- as I do -- work in a
> multi-platform office, use JS   exclusively.

On the other hand, if you ever plan to build workflows that involve more
than one app, and especially using non-Adobe apps (think spreadsheets,
databases, mail apps, command line, etc), you need to use AppleScript or VB
rather than Adobe's proprietary js engine.

JS has a lot going for it: cross-platform, more built-in stuff like grep,
persistent engines, plus access to stuff like ScriptUI. But it also has
disadvantages -- you don't have droplets (my favorite UI because of its
speed and simplicity) like AppleScript, ESTK is, IMO, fragile and ugly, and
not a patch on a professional IDE like Script Debugger, and it has scope
issues.

To me, cross-app is more important than cross-platform -- I generally only
use one platform, but I use and automate lots of apps. Others have different
priorities. Be thankful for the choice, and if you have the time, learn 'em
all. The hardest part of scripting InDesign is understanding the object
model, and that's much the same whatever the scripting language.

-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Technical Details
Message-ID: <C5DDE40B.4F428%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b82d8a.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a6265083bc2d8c51
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Applescript or Javascript?
Message-ID: <C5DDE40B.4F428%sstanley@myriad-com.com.au>
Date: Wed, 11 Mar 2009 03:56:27 -0700
References: <59b82d8a.-1@webcrossing.la2eafNXanI>
Lines: 37
Received: from outbound.icp-qv1-irony-out3.iinet.net.au [203.59.1.148] by adobeforums.com; Wed, 11 Mar 2009 03:57:15 -0700
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Aj4BAFM2t0l8qAah/2dsb2JhbAAI0SeEDQY
X-IronPort-AV: E=Sophos;i="4.38,341,1233500400"; 
   d="scan'208";a="399823370"
Received: from unknown (HELO [10.1.1.4]) ([124.168.6.161])
  by outbound.icp-qv1-irony-out3.iinet.net.au with ESMTP; 11 Mar 2009 19:56:32 +0900
User-Agent: Microsoft-Entourage/12.15.0.081119
Thread-Topic: Applescript or Javascript?
Thread-Index: AcmiOAajgMtZVH+Sv0OZMh2jKDDoUA==
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit