Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

file.copy taking a long time and takes focus

$
0
0

Hey guys,

 

I'm trying to manually write a Collect Files script. I'm having a couple problems.

 

First, it takes MUCH longer.  Going through the list of items and copying each file using file.copy takes 2:46 minutes to do, and when I run Collect Files from the menu it only takes 0:54 (not to mention the progress bar doesn't stop responding, as it does in my script).

 

Second, I'm trying to find a way for the files to be copied while releasing the focus on After Effects, so users can keep working in AE while the files copy. I've tried running a command line using system.callSystem, but the command line still monopolizes the focus.

 

Any thoughts?


Viewing all articles
Browse latest Browse all 2143


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>