Fundamental question about Script Objects

Hi (StefanK), :slight_smile:

I have a document based application where every document is it’s own script object.
I created script objects “on demand” depending on how many files there are in a directory, every script object processes a file.

Do all these script objects run on their own thread? One thing that each and everyone of these script objects do is to read a file (stout from shell script) and update their documents UI with the stout information.
Now, do I need to use the “on idle” handler in the main program and then go through all script objects and let them update themself or can I use “on idle” handlers in every script objects.

Hope this makes sense.

Thanks