🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #529

Re: js Is it possible to change file names of the folder with ES (like with AS)

#529
From: Dave_Saunders
Date: Thu, 12 Mar 2009 21:49
5 lines
1012 bytes
Yes it is possible. You just work with the file objects in the folder object, using the rename method.

The ESTK Object Model Viewer lists the File and Folder objects in the Core JavaScript Classes. You can also find some elaboration in the JavaScript Tools Guide also available from the ESTK Help menu.

Dave
Technical Details
Message-ID: <59b83248.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
References: <59b83248.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2c3ecbb9af1c5b43
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: js Is it possible to change file names of
 the folder with ES  (like with AS)
Message-ID: <59b83248.0@webcrossing.la2eafNXanI>
Date: Thu, 12 Mar 2009 14:49:52 -0700
References: <59b83248.-1@webcrossing.la2eafNXanI>
Lines: 4
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Original-Lines: 8