🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #660

Moving Indesign files

#660
From: hm24_arul
Date: Fri, 06 Mar 2009 07:36
18 lines
1107 bytes
Hi scripters,

here I am trying to move Indesign files from one path to another path

var myFolder = Folder.selectDialog("Please select a folder");
var myinddfolder = new Folder(myFolder.fullName + "/indd");
myinddfolder.create();
var myFiles=myFolder.getFiles( "*.indd" );
for ( i=0; i < myFiles.length; i++ ){ File(myFiles[i]).Move(myinddfolder); }

I think Indesign cant support with FSO(File System Object), the above code is my steps to move files, but I am getting error in Move command.

Please advice me how can I move files?

thanks in advance

regards
a r u l
Technical Details
Message-ID: <59b8240a.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ba3e5bb45ddafb33,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: hm24_arul@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Moving Indesign files
Message-ID: <59b8240a.-1@webcrossing.la2eafNXanI>
Date: Thu, 5 Mar 2009 23:36:24 -0800
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit