Article View: adobe.scripting.indesign
Article #15499Re: Any advantage in learning JavaScript over AppleScript?
From: Dave_Saunders
Date: Sat, 06 Dec 2003 12:26
Date: Sat, 06 Dec 2003 12:26
9 lines
1760 bytes
1760 bytes
I added two new sections to my JavaScript web site yesterday. Both concern the use of libraries. There's an overview/introduction to the object model as it pertains to Libraries and Assets and a tutorial that demonstrates one way to use libraries to enhance the InDesign experience. The script I use as the basis of the tutorial is one that I have developed to simplify the adding and updating of assets in a library (I can't believe how clumsy the UI is when it comes to replacing an existing asset with a reworked version). As a bonus, I've added an archiving feature to the script to make it possible to retrieve a replaced item should you later realize that you need a previous version back. Here's a direct link to the tutorial <http://pdsassoc.com/index.php?Nav=javassub&Ban=WorkingWithALibrary&Info=jstutorials/WorkingWithALibrary/index.html>. By the way, to address the original issue of this topic, one advantage of switching to JavaScript is that because it is a completely different language, I don't find myself getting confused by changes from 2.0's scripting to CS's scripting. Dave
Technical Details
Message-ID:
<2cce710b.8@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<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-12-06 04:37:41 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.8@webx.la2eafNXanI> Date: Sat, 6 Dec 2003 04:26:05 -0800 References: <2cce710b.-1@webx.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit