Copy link to clipboard
Copied
Dear sir:
if I have a folder contains image file like this:
box0001.png-box0090.png, I want to save box0001.png-box0015.png to one folder,
and box0035.png-box0050.png to another folder,
can I do this by using javascript for ae?
or how can I find source to do this?(because I did not find in ae javascript reference?)
thanks a lot!
Copy link to clipboard
Copied
Wouldn't it be just as easy to drag the desired files into a new folder?
Copy link to clipboard
Copied
thanks for the reply!
but the folder contains hundreds of range combinations!
its not easy to do by hand!
Copy link to clipboard
Copied
This should be pretty easy with the .copy() and .remove() file operations. See Adobe's JavaScript Tools Guide for a complete list of file operations.
Dan
Copy link to clipboard
Copied
You need to call an external command like an ordinary command line or batch file. AE or scripts can't do file operations outside their render and project management stuff.
Mylenium