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

Need an ExtendScript timer

$
0
0

I've done a lot of research and even found this question asked on another website, but no answers have been found. Has anyone been able to create a non-blocking timer? Something not involving $.sleep(), as that is blocking. I've tried app.scheduleTask(), but had issues with it not seeing any of my objects or variables when it runs within a dockable script. Perhaps I'm misunderstanding the use of it, but maybe someone can shed some light on it. The base goal is to have a progress bar update, but not via a loop of any kind. I am checking a system folder for files and as the folder gets more files I want the progress bar to update accordingly. A simple function is being used and just needs to be launched on an interval basis to process the folder. Appreciate any help.


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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