Cycle between instances of objects

how can I check if and how many (dynamic) instances of the same webDialogBox (or other type of object) have been instantiated and then close them through a timer?

I’m doing this by creating an array in session like myWebDialog(), adding the instance when created (session.myWebDialog.append self).
To close them all, just loop thru the array (for/next) and close each of them myWebDialog(x).Close and clear the array when done.

1 Like

great approach, but there is no method (introspection effect) to check all instantiated objects in a session?