🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9084

Re: JS Batch converter for CS2

#9084
From: feketef
Date: Fri, 15 Sep 2006 01:39
21 lines
1417 bytes
Dear Dave,

Thanks. It IS WORKING.

I have an another question.
DO you know from where I can learn more about JavaScript. I can consider now myself to be a bit more than begginer. However for example I did not even dream about that

app.activeDocument = app.documents[-1];

is makes sense. I would rather use

app.activeDocument = app.documents[i];

Could you explain or refer me to to the right point from where I can learn this. I think I have a big gap on this to catch up in JS.

You actually wrote a loop and did not use the loop_variable but -1.
It is a bit misterious to me.

Also if I understood right the app.documents[0].name; is actually the activeDocument????

Ferenc
Technical Details
Message-ID: <3bbf225d.23@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsfeed.freenet.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news.isoc.lu!webcrossing
References: <3bbf225d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fd17be16b0df5a69
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: feketef@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsfeed.freenet.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: JS Batch converter for CS2
Message-ID: <3bbf225d.23@webcrossing.la2eafNXanI>
Date: Thu, 14 Sep 2006 18:39:54 -0700
References: <3bbf225d.-1@webcrossing.la2eafNXanI>
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit