🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2615

copy file or art

#2615
From: tnhems
Date: Fri, 12 Dec 2008 08:36
14 lines
802 bytes
hi

used Javascript coding to copy a file from source to destination

this is the syntax

new File(arr1[i]+"/"+arr0[i]).copyAll(destinationfolder+"/"+arr0[i])

when i run the script from indesign the file to copied to the destitation but the date modified is changed actually it should not change.is there
any other syntax other than this to copy the file

plz guide me

thanks
Technical Details
Message-ID: <59b74023.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
From: tnhems@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: copy file or art
Message-ID: <59b74023.-1@webcrossing.la2eafNXanI>
Date: Fri, 12 Dec 2008 00:36:54 -0800
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit