🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15566

Re: Any advantage in learning JavaScript over AppleScript?

#15566
From: Dave_Saunders
Date: Fri, 21 Nov 2003 15:17
11 lines
2018 bytes
I'm going to take advantage of Cliff asking this question to share some observations. I'm working a very complicated script in JavaScript right now. You've probably seen some of my other threads about the specifics I've run into. If you were around when I first started trying to use AppleScript to drive InDesign (1.5.2), you'll recognize that I'm doing rather better this time around!

That's largely because much more than half the battle is understanding the InDesign object model, and what will or will not work, and how to actually make legitimate calls. Having largely won that battle three years ago, the switch to JavaScript is, relatively speaking, chickenfeed.

But I'm struck by how familiar it all seems, doing what I'm doing now, and the reason is that it has taken me back nearly 40 years to the days when I was using 803 Autocode on an Elliott 803 computer in the bowels of that huge E-shaped building in Borehamwood (there's a scene from The Prisoner that was filmed in that building; they used the Paternoster lift; getting off at the third floor).

Of course, I don't have to use paper tape punches and readers any more, but the approach of typing a script in a text editor, saving it, firing it up in the debugger, inserting a breakpoint, running the script, having it never even hit the breakpoint...

Ah, I'm reliving my youth!

Dave
Technical Details
Message-ID: <2cce710b.3@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cce710b.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,76379a2d4cf65ca4
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-21 07:38:01 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Any advantage in learning JavaScript over AppleScript?
Message-ID: <2cce710b.3@webx.la2eafNXanI>
Date: Fri, 21 Nov 2003 07:17:20 -0800
References: <2cce710b.-1@webx.la2eafNXanI>
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit